mirror of
https://github.com/labring/FastGPT.git
synced 2025-08-02 20:58:12 +00:00
v4.6-3 (#463)
This commit is contained in:
@@ -67,7 +67,7 @@ const Layout = ({ children }: { children: JSX.Element }) => {
|
||||
}, [loadGitStar, setScreenWidth]);
|
||||
|
||||
const { data: unread = 0 } = useQuery(['getUnreadCount'], getUnreadCount, {
|
||||
enabled: !!userInfo && feConfigs.isPlus,
|
||||
enabled: !!userInfo && !!feConfigs.isPlus,
|
||||
refetchInterval: 10000
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user