This commit is contained in:
archer
2023-07-13 15:17:01 +08:00
parent b4d46ff34d
commit 726de0396b
6 changed files with 13 additions and 16 deletions

View File

@@ -57,7 +57,7 @@ const Layout = ({ children }: { children: JSX.Element }) => {
const { data: unread = 0 } = useQuery(['getUnreadCount'], getUnreadCount, {
enabled: !!userInfo,
refetchInterval: 5000
refetchInterval: 10000
});
return (