ソースを参照

use default value

ryoji-s 2 年 前
コミット
4a420df942
1 ファイル変更0 行追加4 行削除
  1. 0 4
      apps/app/src/components/Navbar/hooks.tsx

+ 0 - 4
apps/app/src/components/Navbar/hooks.tsx

@@ -33,12 +33,8 @@ export const useOnPageEditorModeButtonClicked = (
 
         const response = await apiv3Post('/pages/', {
           path,
-          body: undefined,
           grant,
           grantUserGroupId,
-          isSlackEnabled: false,
-          slackChannels: '',
-          pageTags: [],
         });
 
         // Should not mutateEditorMode as it might prevent transitioning during mutation