Shun Miyazawa 2 년 전
부모
커밋
053ff04dc2
1개의 변경된 파일0개의 추가작업 그리고 3개의 파일을 삭제
  1. 0 3
      apps/app/src/pages/[[...path]].page.tsx

+ 0 - 3
apps/app/src/pages/[[...path]].page.tsx

@@ -238,14 +238,11 @@ const Page: NextPageWithLayout<Props> = (props: Props) => {
   useHasDraftOnHackmd(pageWithMeta?.data.hasDraftOnHackmd ?? false);
   useCurrentPathname(props.currentPathname);
 
-
   const { mutate: mutateInitialPage } = useSWRxCurrentPage();
   const { trigger: mutateCurrentPage } = useSWRMUTxCurrentPage();
   const { mutate: mutateEditingMarkdown } = useEditingMarkdown();
   const { data: currentPageId, mutate: mutateCurrentPageId } = useCurrentPageId();
 
-  // useSWRxCurrentPage(pageWithMeta?.data ?? null); // store initial data
-
   // Store initial data
   useEffect(() => {
     mutateInitialPage(pageWithMeta?.data ?? null);