kaori 3 anni fa
parent
commit
fb1bcc8e65
1 ha cambiato i file con 4 aggiunte e 4 eliminazioni
  1. 4 4
      packages/app/src/pages/admin/[[...path]].page.tsx

+ 4 - 4
packages/app/src/pages/admin/[[...path]].page.tsx

@@ -87,11 +87,11 @@ const AdminMarkdownSettingsPage: NextPage<Props> = (props: Props) => {
   const { path } = router.query;
   const pagePathKeys: string[] = Array.isArray(path) ? path : ['home'];
 
-  let userGroupId;
   /*
-    * Set userGroupId as a adminPagesMap key
-    * eg) In case that url is `/user-group-detail/62e8388a9a649bea5e703ef7`, userGroupId will be 62e8388a9a649bea5e703ef7
-    */
+  * Set userGroupId as a adminPagesMap key
+  * eg) In case that url is `/user-group-detail/62e8388a9a649bea5e703ef7`, userGroupId will be 62e8388a9a649bea5e703ef7
+  */
+  let userGroupId;
   const [firstPath, secondPath] = pagePathKeys;
   if (firstPath === 'user-group-detail') {
     userGroupId = secondPath;