瀏覽代碼

fix swr config

Shun Miyazawa 2 年之前
父節點
當前提交
3e6836b40d
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 (