mirror of
https://github.com/sqlchat/sqlchat.git
synced 2025-07-28 17:53:21 +08:00
feat: implement markdown codeblock
This commit is contained in:
@ -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 (
|
||||
|
Reference in New Issue
Block a user