♻️Refactor: Redemptions Page

This commit is contained in:
Apple\Apple
2025-05-23 16:58:19 +08:00
parent 0befa28e8e
commit 9a6c540013
4 changed files with 246 additions and 169 deletions

View File

@@ -1,20 +1,10 @@
import React from 'react';
import RedemptionsTable from '../../components/RedemptionsTable';
import { Layout } from '@douyinfe/semi-ui';
import { useTranslation } from 'react-i18next';
const Redemption = () => {
const { t } = useTranslation();
return (
<>
<Layout>
<Layout.Header>
<h3>{t('管理兑换码')}</h3>
</Layout.Header>
<Layout.Content>
<RedemptionsTable />
</Layout.Content>
</Layout>
<RedemptionsTable />
</>
);
};

View File

@@ -1,8 +1,7 @@
import React from 'react';
import TokensTable from '../../components/TokensTable';
import { useTranslation } from 'react-i18next';
const Token = () => {
const { t } = useTranslation();
return (
<>
<TokensTable />