|
@@ -47,7 +47,7 @@ import {
|
|
|
useIsForbidden, useIsNotFound, useIsTrashPage, useShared, useShareLinkId, useIsSharedUser, useIsAbleToDeleteCompletely,
|
|
useIsForbidden, useIsNotFound, useIsTrashPage, useShared, useShareLinkId, useIsSharedUser, useIsAbleToDeleteCompletely,
|
|
|
useAppTitle, useSiteUrl, useConfidential, useIsEnabledStaleNotification,
|
|
useAppTitle, useSiteUrl, useConfidential, useIsEnabledStaleNotification,
|
|
|
useIsSearchServiceConfigured, useIsSearchServiceReachable, useIsMailerSetup,
|
|
useIsSearchServiceConfigured, useIsSearchServiceReachable, useIsMailerSetup,
|
|
|
- useAclEnabled, useIsAclEnabled, useHasSlackConfig, useDrawioUri, useHackmdUri, useMathJax,
|
|
|
|
|
|
|
+ useAclEnabled, useIsAclEnabled, useHasSlackConfig, useDrawioUri, useHackmdUri,
|
|
|
useNoCdn, useEditorConfig, useCsrfToken, useIsSearchScopeChildrenAsDefault, useCurrentPageId, useCurrentPathname, useIsSlackConfigured,
|
|
useNoCdn, useEditorConfig, useCsrfToken, useIsSearchScopeChildrenAsDefault, useCurrentPageId, useCurrentPathname, useIsSlackConfigured,
|
|
|
} from '../stores/context';
|
|
} from '../stores/context';
|
|
|
import { useXss } from '../stores/xss';
|
|
import { useXss } from '../stores/xss';
|
|
@@ -95,7 +95,6 @@ type Props = CommonProps & {
|
|
|
// hasSlackConfig: boolean,
|
|
// hasSlackConfig: boolean,
|
|
|
// drawioUri: string,
|
|
// drawioUri: string,
|
|
|
// hackmdUri: string,
|
|
// hackmdUri: string,
|
|
|
- // mathJax: string,
|
|
|
|
|
// noCdn: string,
|
|
// noCdn: string,
|
|
|
// highlightJsStyle: string,
|
|
// highlightJsStyle: string,
|
|
|
// isAllReplyShown: boolean,
|
|
// isAllReplyShown: boolean,
|
|
@@ -159,7 +158,6 @@ const GrowiPage: NextPage<Props> = (props: Props) => {
|
|
|
// useHasSlackConfig(props.hasSlackConfig);
|
|
// useHasSlackConfig(props.hasSlackConfig);
|
|
|
// useDrawioUri(props.drawioUri);
|
|
// useDrawioUri(props.drawioUri);
|
|
|
// useHackmdUri(props.hackmdUri);
|
|
// useHackmdUri(props.hackmdUri);
|
|
|
- // useMathJax(props.mathJax);
|
|
|
|
|
// useNoCdn(props.noCdn);
|
|
// useNoCdn(props.noCdn);
|
|
|
// useIndentSize(props.adminPreferredIndentSize);
|
|
// useIndentSize(props.adminPreferredIndentSize);
|
|
|
|
|
|