jam411 3 лет назад
Родитель
Сommit
07472a251a

+ 1 - 0
packages/app/src/components/Navbar/GrowiContextualSubNavigation.tsx

@@ -12,6 +12,7 @@ import { apiPost } from '~/client/util/apiv1-client';
 import {
 import {
   IPageToRenameWithMeta, IPageWithMeta, IPageInfoForEntity, IPageHasId,
   IPageToRenameWithMeta, IPageWithMeta, IPageInfoForEntity, IPageHasId,
 } from '~/interfaces/page';
 } from '~/interfaces/page';
+import { IResTagsUpdateApiv1 } from '~/interfaces/tag';
 import { OnDuplicatedFunction, OnRenamedFunction, OnDeletedFunction } from '~/interfaces/ui';
 import { OnDuplicatedFunction, OnRenamedFunction, OnDeletedFunction } from '~/interfaces/ui';
 import { IUser } from '~/interfaces/user';
 import { IUser } from '~/interfaces/user';
 import {
 import {

+ 3 - 3
packages/app/src/components/UsersHomePageFooter.tsx

@@ -1,8 +1,8 @@
 import React from 'react';
 import React from 'react';
 
 
 import { RecentlyCreatedIcon } from '~/components/Icons/RecentlyCreatedIcon';
 import { RecentlyCreatedIcon } from '~/components/Icons/RecentlyCreatedIcon';
-import { BookmarkList } from '~/components/PageList/BookmarkList';
-import { RecentCreated } from '~/components/RecentCreated/RecentCreated';
+// import { BookmarkList } from '~/components/PageList/BookmarkList';
+// import { RecentCreated } from '~/components/RecentCreated/RecentCreated';
 import styles from '~/components/UsersHomePageFooter.module.scss';
 import styles from '~/components/UsersHomePageFooter.module.scss';
 
 
 type UsersHomePageFooterProps = {
 type UsersHomePageFooterProps = {
@@ -11,7 +11,7 @@ type UsersHomePageFooterProps = {
 
 
 export const UsersHomePageFooter = (props: UsersHomePageFooterProps) => {
 export const UsersHomePageFooter = (props: UsersHomePageFooterProps) => {
 
 
-  const { creatorId } = props;
+  // const { creatorId } = props;
 
 
   // TODO: Check CSS module
   // TODO: Check CSS module
   return (
   return (

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

@@ -336,7 +336,7 @@ const GrowiPage: NextPage<Props> = (props: Props) => {
           {/* { !props.isIdenticalPathPage && ( */}
           {/* { !props.isIdenticalPathPage && ( */}
           <Comments pageId={pageId} />
           <Comments pageId={pageId} />
           {/* )} */}
           {/* )} */}
-          { isUsersHomePage(props.currentPathname) && (<UsersHomePageFooter creatorId={}/>) }
+          { isUsersHomePage(props.currentPathname) && (<UsersHomePageFooter creatorId={pageWithMeta?.data.creator._id}/>) }
           <PageContentFooter />
           <PageContentFooter />
         </footer>
         </footer>