소스 검색

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