mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Updates
This commit is contained in:
@ -102,7 +102,11 @@ const Index: React.FC<Props> = ({ localCorrupt }) => {
|
||||
const queryNotification = useInfiniteQuery(
|
||||
['Notifications', {}],
|
||||
timelineFetch,
|
||||
{ enabled: localInstance ? true : false }
|
||||
{
|
||||
enabled: localInstance ? true : false,
|
||||
refetchInterval: 1000 * 60,
|
||||
refetchIntervalInBackground: true
|
||||
}
|
||||
)
|
||||
const prevNotification = useSelector(getLocalNotification)
|
||||
useEffect(() => {
|
||||
|
Reference in New Issue
Block a user