Bladeren bron

success to use swr

kaori 4 jaren geleden
bovenliggende
commit
30cf6061ad
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      packages/app/src/components/InAppNotification/AllInAppNotifications.tsx

+ 1 - 1
packages/app/src/components/InAppNotification/AllInAppNotifications.tsx

@@ -51,7 +51,7 @@ const AllInAppNotifications: FC<Props> = (props: Props) => {
       </div>
     );
   }
-  const notifications = inAppNotificationdata.docs;
+  const notifications = inAppNotificationdata.data.docs;
   console.log('notifications!!', notifications);
 
   return (