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