Skip to content

Commit

Permalink
🐛 fix: add alert message
Browse files Browse the repository at this point in the history
  • Loading branch information
rdmclin2 committed Jun 2, 2024
1 parent 9a8a9ca commit d6d657e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/layout/Header/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use client';

import { Header as LobeHeader, Logo, TabsNav } from '@lobehub/ui';
import { Space, Tag, Tooltip } from 'antd';
import { Alert, Space, Tag, Tooltip } from 'antd';
import Link from 'next/link';
import { useRouter } from 'next/navigation';
import { memo } from 'react';
Expand All @@ -22,6 +22,12 @@ const Header = (props: Props) => {
return (
<LobeHeader
actions={[
<Alert
message="近期由于 OSS 服务商限制,部分资源可能无法加载,可以从发现页重新订阅角色与舞蹈,造成的不便敬请谅解"
key={'alert'}
banner
closable
/>,
<Github key="github" />,
<ThemeMode key={'theme'} />,
<Discord key={'discord'} />,
Expand Down

0 comments on commit d6d657e

Please sign in to comment.