feat: implement markdown codeblock

This commit is contained in:
steven
2023-03-27 11:36:45 +08:00
parent 0c8e2587a4
commit 9c9204494d
5 changed files with 862 additions and 22 deletions

View File

@ -10,10 +10,11 @@ const ClearDataConfirmModal = (props: Props) => {
const handleClearData = () => {
window.localStorage.clear();
close();
toast.success("Message cleared. The page will be reloaded.");
setTimeout(() => {
window.location.reload();
}, 300);
}, 500);
};
return (