alert success only if migrated

This commit is contained in:
2023-11-08 15:22:13 +08:00
parent 053495254b
commit 11b835460b

View File

@@ -153,9 +153,11 @@ export function App() {
keyCount += 1;
}
setSelectedChatIndex(keyCount);
alert(
"v2.0.0 Update: Imported chat history from localStorage to indexedDB. 🎉"
);
if (keyCount > 0) {
alert(
"v2.0.0 Update: Imported chat history from localStorage to indexedDB. 🎉"
);
}
},
});