|
@@ -26,7 +26,7 @@ import {
|
|
|
} from '~/stores/page';
|
|
} from '~/stores/page';
|
|
|
import { mutatePageTree } from '~/stores/page-listing';
|
|
import { mutatePageTree } from '~/stores/page-listing';
|
|
|
import {
|
|
import {
|
|
|
- EditorMode, useEditorMode, useIsAbleToShowPageManagement,
|
|
|
|
|
|
|
+ useEditorMode, useIsAbleToShowPageManagement,
|
|
|
useIsAbleToChangeEditorMode,
|
|
useIsAbleToChangeEditorMode,
|
|
|
} from '~/stores/ui';
|
|
} from '~/stores/ui';
|
|
|
|
|
|
|
@@ -172,7 +172,7 @@ const CreateTemplateMenuItems = (props: CreateTemplateMenuItemsProps): JSX.Eleme
|
|
|
|
|
|
|
|
type GrowiContextualSubNavigationProps = {
|
|
type GrowiContextualSubNavigationProps = {
|
|
|
currentPage?: IPagePopulatedToShowRevision | null,
|
|
currentPage?: IPagePopulatedToShowRevision | null,
|
|
|
- isLinkSharingDisabled: boolean,
|
|
|
|
|
|
|
+ isLinkSharingDisabled?: boolean,
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
const GrowiContextualSubNavigation = (props: GrowiContextualSubNavigationProps): JSX.Element => {
|
|
const GrowiContextualSubNavigation = (props: GrowiContextualSubNavigationProps): JSX.Element => {
|