|
@@ -59,7 +59,7 @@ import {
|
|
|
useIsEnabledStaleNotification, useIsIdenticalPath,
|
|
useIsEnabledStaleNotification, useIsIdenticalPath,
|
|
|
useIsSearchServiceConfigured, useIsSearchServiceReachable, useDisableLinkSharing,
|
|
useIsSearchServiceConfigured, useIsSearchServiceReachable, useDisableLinkSharing,
|
|
|
useDrawioUri, useHackmdUri,
|
|
useDrawioUri, useHackmdUri,
|
|
|
- useIsAclEnabled, useIsUserPage,
|
|
|
|
|
|
|
+ useIsAclEnabled, useIsUserPage, useIsSearchPage,
|
|
|
useCsrfToken, useIsSearchScopeChildrenAsDefault, useCurrentPageId, useCurrentPathname,
|
|
useCsrfToken, useIsSearchScopeChildrenAsDefault, useCurrentPageId, useCurrentPathname,
|
|
|
useIsSlackConfigured, useRendererConfig, useEditingMarkdown,
|
|
useIsSlackConfigured, useRendererConfig, useEditingMarkdown,
|
|
|
useEditorConfig, useIsAllReplyShown, useIsUploadableFile, useIsUploadableImage,
|
|
useEditorConfig, useIsAllReplyShown, useIsUploadableFile, useIsUploadableImage,
|
|
@@ -204,6 +204,7 @@ const GrowiPage: NextPage<Props> = (props: Props) => {
|
|
|
useIsIdenticalPath(false); // TODO: need to initialize from props
|
|
useIsIdenticalPath(false); // TODO: need to initialize from props
|
|
|
// useIsAbleToDeleteCompletely(props.isAbleToDeleteCompletely);
|
|
// useIsAbleToDeleteCompletely(props.isAbleToDeleteCompletely);
|
|
|
useIsEnabledStaleNotification(props.isEnabledStaleNotification);
|
|
useIsEnabledStaleNotification(props.isEnabledStaleNotification);
|
|
|
|
|
+ useIsSearchPage(false);
|
|
|
|
|
|
|
|
useIsSearchServiceConfigured(props.isSearchServiceConfigured);
|
|
useIsSearchServiceConfigured(props.isSearchServiceConfigured);
|
|
|
useIsSearchServiceReachable(props.isSearchServiceReachable);
|
|
useIsSearchServiceReachable(props.isSearchServiceReachable);
|