فهرست منبع

fixed the code

Shunm634-source 3 سال پیش
والد
کامیت
5eabe623bf

+ 1 - 1
packages/app/src/components/Admin/Notification/GlobalNotification.jsx

@@ -38,7 +38,7 @@ const GlobalNotification = (props) => {
   const router = useRouter();
   const { globalNotifications } = adminNotificationContainer.state;
   return (
-    <><h2 className="border-bottom my-4">{t('notification_setting.valid_page')}</h2>
+    <><h2 className="border-bottom my-4">{t('notification_settings.valid_page')}</h2>
 
       <p className="card well">
         {/* eslint-disable-next-line react/no-danger */}

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

@@ -142,11 +142,11 @@ const AdminMarkdownSettingsPage: NextPage<Props> = (props: Props) => {
     },
     'global-notification': {
       new: {
-        title: useCustomTitle(props, t('Add_new')),
+        title: t('Add_new'),
         component: <ManageGlobalNotification />,
       },
       setting: {
-        title: useCustomTitle(props, t('settings')),
+        title: t('settings'),
         component: <ManageGlobalNotification />,
       },
     },