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);