kaori пре 3 година
родитељ
комит
0d89f46cd8
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      packages/app/src/pages/admin/[[...path]].page.tsx

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

@@ -85,7 +85,7 @@ const AdminMarkdownSettingsPage: NextPage<Props> = (props: Props) => {
 
   const { t } = useTranslation('admin');
   const router = useRouter();
-  const path = router.query.path;
+  const { path } = router.query;
   const pagePathKeys = Array.isArray(path) ? path : ['home'];
 
   const adminPagesMap = {