Skip to content

Commit

Permalink
🚨 fix: 修正类型错误
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Jul 3, 2021
1 parent 33e514c commit 0a1796e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/user-panel/src/components/Header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type { FC } from 'react';
import { Typography } from 'antd';

import { useFormatMessage } from '../Intl';
import type { LocaleKey, PanelContentType } from '../../types';
import type { PanelContentType } from '../../types';

import './style.less';

Expand Down Expand Up @@ -46,7 +46,7 @@ const Header: FC<HeaderProps> = ({ type, logo, logoUrl }) => {
fontWeight: 'normal',
}}
>
{f(`${type}.header` as LocaleKey)}
{f(`${type}.header`)}
</Title>
</div>
);
Expand Down

0 comments on commit 0a1796e

Please sign in to comment.