mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-11-15 04:33:42 +08:00
feat: i18n support
This commit is contained in:
@@ -68,11 +68,7 @@ const Home = () => {
|
||||
</Card.Header>
|
||||
<Card.Description style={{ lineHeight: '1.6' }}>
|
||||
<p>{t('home.welcome.description')}</p>
|
||||
{!userState.user && (
|
||||
<p>
|
||||
{t('home.welcome.login_notice')}
|
||||
</p>
|
||||
)}
|
||||
{!userState.user && <p>{t('home.welcome.login_notice')}</p>}
|
||||
</Card.Description>
|
||||
</Card.Content>
|
||||
</Card>
|
||||
|
||||
Reference in New Issue
Block a user