refac: toast error

This commit is contained in:
Timothy Jaeryang Baek committed 2025-01-20 22:41:32 -08:00
1 parent af48f346f1
commit a863f98c53
52 files changed
+123 -123

No files matched your search

@@ -47,7 +47,7 @@
reader.onload = async (e) => {
const res = await importConfig(localStorage.token, JSON.parse(e.target.result)).catch(
(error) => {
toast.error(error);
toast.error(`${error}`);
}
);
@@ -132,7 +132,7 @@
// exportAllUserChats();
downloadDatabase(localStorage.token).catch((error) => {
toast.error(error);
toast.error(`${error}`);
});
}}
>