fix: fix translation error

This commit is contained in:
shuai
2024-05-29 15:24:05 +08:00
parent 3aa1de3b98
commit 9b2277d9ad
2 changed files with 1 additions and 3 deletions
+1 -1
View File
@@ -1153,7 +1153,7 @@ ui:
resend: 重新发送
deactivate: 取消激活
active: 激活
suspend: 封禁
suspend: 封禁
unsuspend: 解禁
close: 关闭
reopen: 重新打开
-2
View File
@@ -21,7 +21,6 @@ import { FC } from 'react';
import { Row, Col } from 'react-bootstrap';
import { useTranslation } from 'react-i18next';
import { siteInfoStore } from '@/stores';
import { useDashBoard } from '@/services';
import {
@@ -33,7 +32,6 @@ import {
const Dashboard: FC = () => {
const { t } = useTranslation('translation', { keyPrefix: 'admin.dashboard' });
const { name: siteName } = siteInfoStore((_) => _.siteInfo);
const { data } = useDashBoard();
if (!data) {