|
@@ -2,7 +2,7 @@ import React, { FC } from 'react';
|
|
|
import { pagePathUtils } from '@growi/core';
|
|
import { pagePathUtils } from '@growi/core';
|
|
|
|
|
|
|
|
import {
|
|
import {
|
|
|
- useCreatedAt, useDeleteUsername, useDeletedAt, useHasChildren, useHasDraftOnHackmd, useIsAbleToDeleteCompletely,
|
|
|
|
|
|
|
+ useCurrentCreatedAt, useDeleteUsername, useDeletedAt, useHasChildren, useHasDraftOnHackmd, useIsAbleToDeleteCompletely,
|
|
|
useIsDeletable, useIsDeleted, useIsNotCreatable, useIsPageExist, useIsTrashPage, useIsUserPage, useLastUpdateUsername,
|
|
useIsDeletable, useIsDeleted, useIsNotCreatable, useIsPageExist, useIsTrashPage, useIsUserPage, useLastUpdateUsername,
|
|
|
usePageId, usePageIdOnHackmd, usePageUser, useCurrentPagePath, useRevisionCreatedAt, useRevisionId, useRevisionIdHackmdSynced,
|
|
usePageId, usePageIdOnHackmd, usePageUser, useCurrentPagePath, useRevisionCreatedAt, useRevisionId, useRevisionIdHackmdSynced,
|
|
|
useShareLinkId, useShareLinksNumber, useTemplateTagData, useUpdatedAt, useCreator, useRevisionAuthor, useCurrentUser,
|
|
useShareLinkId, useShareLinksNumber, useTemplateTagData, useUpdatedAt, useCreator, useRevisionAuthor, useCurrentUser,
|
|
@@ -58,7 +58,7 @@ const ContextExtractor: FC = () => {
|
|
|
useCurrentUser(currentUser);
|
|
useCurrentUser(currentUser);
|
|
|
|
|
|
|
|
// Page
|
|
// Page
|
|
|
- useCreatedAt(createdAt);
|
|
|
|
|
|
|
+ useCurrentCreatedAt(createdAt);
|
|
|
useDeleteUsername(deleteUsername);
|
|
useDeleteUsername(deleteUsername);
|
|
|
useDeletedAt(deletedAt);
|
|
useDeletedAt(deletedAt);
|
|
|
useHasChildren(hasChildren);
|
|
useHasChildren(hasChildren);
|