Bladeren bron

fix swr config

Shun Miyazawa 2 jaren geleden
bovenliggende
commit
3e6836b40d
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      apps/app/src/components/Sidebar/InAppNotification/InAppNotificationSubstance.tsx

+ 1 - 1
apps/app/src/components/Sidebar/InAppNotification/InAppNotificationSubstance.tsx

@@ -42,7 +42,7 @@ export const InAppNotificationContent = (props: InAppNotificationContentProps):
     6,
     undefined,
     isUnopendNotificationsVisible ? InAppNotificationStatuses.STATUS_UNOPENED : undefined,
-    { revalidateOnFocus: true },
+    { keepPreviousData: true },
   );
 
   return (