kosei-n 2 лет назад
Родитель
Сommit
4ce3f970d4
2 измененных файлов с 0 добавлено и 9 удалено
  1. 0 1
      apps/app/next-env.d.ts
  2. 0 8
      apps/app/src/server/routes/apiv3/page/create-page.ts

+ 0 - 1
apps/app/next-env.d.ts

@@ -1,6 +1,5 @@
 /// <reference types="next" />
 /// <reference types="next/image-types/global" />
-/// <reference types="next/navigation-types/compat/navigation" />
 
 // NOTE: This file should not be edited
 // see https://nextjs.org/docs/basic-features/typescript for more information.

+ 0 - 8
apps/app/src/server/routes/apiv3/page/create-page.ts

@@ -48,10 +48,6 @@ async function determinePath(_parentPath?: string, _path?: string, optionalParen
   // TODO: https://redmine.weseek.co.jp/issues/142729
   const basePathname = 'Untitled';
 
-  // const test = i18next.t('page_register.form_help.email');
-
-  // console.log(test);
-
   if (_path != null) {
     const path = normalizePath(_path);
 
@@ -215,10 +211,6 @@ export const createPageHandlersFactory: CreatePageHandlersFactory = (crowi) => {
         body: bodyByParam, pageTags: tagsByParam,
       } = req.body;
 
-      const basePathname = req.t('message.user_id_is_not_available');
-
-      console.log(basePathname);
-
       let pathToCreate: string;
       try {
         const { path, parentPath, optionalParentPath } = req.body;