Shun Miyazawa 4 年 前
コミット
a4e30ca0f2
1 ファイル変更1 行追加2 行削除
  1. 1 2
      packages/app/src/components/Sidebar/CustomSidebar.tsx

+ 1 - 2
packages/app/src/components/Sidebar/CustomSidebar.tsx

@@ -33,7 +33,6 @@ const CustomSidebar: FC<Props> = (props: Props) => {
 
   const { data: page, mutate } = useSWRxPageByPath('/Sidebar');
 
-  const isLoading = page === undefined;
   const markdown = (page?.revision as IRevision | undefined)?.body;
 
   return (
@@ -47,7 +46,7 @@ const CustomSidebar: FC<Props> = (props: Props) => {
           <i className="icon icon-reload"></i>
         </button>
       </div>
-      { !isLoading && markdown == null && <SidebarNotFound /> }
+      { markdown == null && <SidebarNotFound /> }
       {/* eslint-disable-next-line react/no-danger */}
       { markdown != null && (
         <div className="p-3">