Parcourir la source

use default value

ryoji-s il y a 2 ans
Parent
commit
4a420df942
1 fichiers modifiés avec 0 ajouts et 4 suppressions
  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