瀏覽代碼

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

Shun Miyazawa 1 年之前
父節點
當前提交
a64a6e70f6
共有 1 個文件被更改,包括 2 次插入0 次删除
  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;