Browse Source

Revert of changes lost by https://github.com/weseek/growi/commit/339d65a1e0851f2cc3d1cc0cda17299ef80b6ddb#diff-9cd53317a9783cf173bb388497cc0a3079c72b83bff9bedeca267b167284966e

Shun Miyazawa 1 year ago
parent
commit
a64a6e70f6
1 changed files with 2 additions and 0 deletions
  1. 2 0
      apps/app/src/pages/[[...path]].page.tsx

+ 2 - 0
apps/app/src/pages/[[...path]].page.tsx

@@ -248,6 +248,8 @@ const Page: NextPageWithLayout<Props> = (props: Props) => {
 
   useIsLocalAccountRegistrationEnabled(props.isLocalAccountRegistrationEnabled);
 
+  useIsAiEnabled(props.aiEnabled);
+
   const { pageWithMeta } = props;
 
   const pageId = pageWithMeta?.data._id;