瀏覽代碼

clean code

jam411 3 年之前
父節點
當前提交
af3e4e3038
共有 1 個文件被更改,包括 1 次插入4 次删除
  1. 1 4
      packages/app/src/pages/[[...path]].page.tsx

+ 1 - 4
packages/app/src/pages/[[...path]].page.tsx

@@ -344,7 +344,6 @@ const GrowiPage: NextPage<Props> = (props: Props) => {
                   Bookmarks
                 </h2>
                 <div id="user-bookmark-list" className="page-list">
-                  {/* TODO: No need page-list-container class ? */}
                   <div className="page-list-container">
                     {/* <BookmarkList userId={pageContainer.state.creator._id} /> */}
                   </div>
@@ -358,10 +357,8 @@ const GrowiPage: NextPage<Props> = (props: Props) => {
                   Recently Created
                 </h2>
                 <div id="user-created-list" className="page-list">
-                  {/* TODO: No need page-list-container class ? */}
                   <div className="page-list-container">
-                    {/* TODO: <RecentCreated userId={pageContainer.state.creator._id} /> */}
-                    <RecentCreated userId={pageWithMeta?.data.creator._id} />
+                    <RecentCreated userId={pageWithMeta.data.creator._id} />
                   </div>
                 </div>
               </div>