feat: support markdown for announcement content
This commit is contained in:
parent
7e5a79155a
commit
539ec03293
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue