Shun Miyazawa 3 tahun lalu
induk
melakukan
0da11cbe51
1 mengubah file dengan 4 tambahan dan 1 penghapusan
  1. 4 1
      packages/app/src/components/MaintenanceMode.tsx

+ 4 - 1
packages/app/src/components/MaintenanceMode.tsx

@@ -1,4 +1,5 @@
 import React, { FC, useCallback } from 'react';
 import React, { FC, useCallback } from 'react';
+
 import { useTranslation } from 'next-i18next';
 import { useTranslation } from 'next-i18next';
 
 
 import { toastError } from '~/client/util/apiNotification';
 import { toastError } from '~/client/util/apiNotification';
@@ -35,7 +36,7 @@ export const MaintenanceMode: FC = () => {
                 && (
                 && (
                   <p>
                   <p>
                     <i className="icon-arrow-right"></i>
                     <i className="icon-arrow-right"></i>
-                    <a className="btn btn-link" href="/admin">{ t('maintenance_mode.admin_page') }</a>
+                    <a className="btn btn-link" href="/admin/home">{ t('maintenance_mode.admin_page') }</a>
                   </p>
                   </p>
                 )}
                 )}
                 {currentUser != null
                 {currentUser != null
@@ -60,3 +61,5 @@ export const MaintenanceMode: FC = () => {
     </div>
     </div>
   );
   );
 };
 };
+
+MaintenanceMode.displayName = 'MaintenanceMode';