fix: fix translation error
This commit is contained in:
+1
-1
@@ -1153,7 +1153,7 @@ ui:
|
||||
resend: 重新发送
|
||||
deactivate: 取消激活
|
||||
active: 激活
|
||||
suspend: 已封禁
|
||||
suspend: 封禁
|
||||
unsuspend: 解禁
|
||||
close: 关闭
|
||||
reopen: 重新打开
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user