feat: support markdown for announcement content
This commit is contained in:
@@ -42,8 +42,8 @@ const AppNotificationContainer: FC = () => {
|
||||
}
|
||||
|
||||
toast.info(payload.title, {
|
||||
description: payload.content,
|
||||
duration: 10e8,
|
||||
description: <Markdown>{payload.content}</Markdown>,
|
||||
duration: Infinity,
|
||||
closeButton: true,
|
||||
})
|
||||
} catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user