Skip to content

Commit

Permalink
fix: Personal homepage interface request error
Browse files Browse the repository at this point in the history
  • Loading branch information
shuashuai committed Sep 25, 2024
1 parent 3cf4cd6 commit 3698389
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/services/client/personal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export const usePersonalListByTabName = (params: ListReq, tabName: string) => {

const queryParams = qs.stringify(params, { skipNulls: true });
const { data, error, mutate } = useSWR<ListRes, Error>(
tabName !== 'review' ? `${apiUrl}?${queryParams}` : null,
tabName !== 'overview' ? `${apiUrl}?${queryParams}` : null,
request.instance.get,
);

Expand Down

0 comments on commit 3698389

Please sign in to comment.