Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

feat(HotQuestions): Hot questions maximum request 6 items

haitao(lj)14b21d5187ba
diff --git a/ui/src/services/client/question.ts b/ui/src/services/client/question.ts
index c418f26c..2489ef8d 100644
--- a/ui/src/services/client/question.ts
+++ b/ui/src/services/client/question.ts
@@ -20,7 +20,7 @@ export const useQuestionList = (params: Type.QueryQuestionsReq) => {
export const useHotQuestions = (
params: Type.QueryQuestionsReq = {
page: 1,
- page_size: 10,
+ page_size: 6,
order: 'frequent',
},
) => {