Minor fix

This commit is contained in:
WardPearce
2024-03-28 23:10:48 +13:00
parent 345688bc92
commit 8dbf7a5a6f
+1 -2
View File
@@ -49,8 +49,7 @@
await deleteHistory();
history = [];
Object.keys(localStorage).forEach((key) => {
let content = localStorage.getItem(key);
if (content && content.startsWith('v_')) {
if (key.startsWith('v_')) {
localStorage.removeItem(key);
}
});