Przeglądaj źródła

fix bool jagement style

kaori 4 lat temu
rodzic
commit
4e8cf72269

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

@@ -139,7 +139,7 @@ const InAppNotificationDropdown: FC<Props> = (props: Props) => {
   };
 
   const InAppNotificationContents = (): JSX.Element => {
-    if (isLoaded === false) {
+    if (!isLoaded) {
       return <RenderUnLoadedInAppNotification />;
     }
     return <RenderInAppNotificationList />;