소스 검색

clean code

kaori 4 년 전
부모
커밋
3d58a5a904
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      packages/app/src/components/PageEditor/InAppNotificationDropdown.tsx

+ 1 - 2
packages/app/src/components/PageEditor/InAppNotificationDropdown.tsx

@@ -137,7 +137,7 @@ const InAppNotificationDropdown: FC = (props) => {
     if (isLoaded === true) {
       return <RenderUnLoadedInAppNotification />;
     }
-    else if (notifications.length = 0){
+    else if (notifications.length = 0) {
       return <RenderEmptyInAppNotification />;
     }
     return <RenderInAppNotificationList />;
@@ -157,7 +157,6 @@ const InAppNotificationDropdown: FC = (props) => {
       </DropdownMenu>
     </Dropdown>
   );
-
 };
 
 /**