Ver Fonte

use default value

ryoji-s há 2 anos atrás
pai
commit
4a420df942
1 ficheiros alterados com 0 adições e 4 exclusões
  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