소스 검색

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 (