mirror of https://gitee.com/answerdev/answer.git
Merge branch 'ui' of git.backyard.segmentfault.com:opensource/answer into ui
This commit is contained in:
commit
b5f923a79f
|
@ -36,6 +36,9 @@ export const useQueryNotificationRedDot = () => {
|
|||
return useSWR<{ inbox: number; achievement: number }>(
|
||||
isLogin() ? apiUrl : null,
|
||||
request.instance.get,
|
||||
{
|
||||
refreshInterval: 3000,
|
||||
},
|
||||
);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue