Explorar o código

use default value

ryoji-s %!s(int64=2) %!d(string=hai) anos
pai
achega
4a420df942
Modificáronse 1 ficheiros con 0 adicións e 4 borrados
  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/', {
         const response = await apiv3Post('/pages/', {
           path,
           path,
-          body: undefined,
           grant,
           grant,
           grantUserGroupId,
           grantUserGroupId,
-          isSlackEnabled: false,
-          slackChannels: '',
-          pageTags: [],
         });
         });
 
 
         // Should not mutateEditorMode as it might prevent transitioning during mutation
         // Should not mutateEditorMode as it might prevent transitioning during mutation