diff --git a/web/src/api.rs b/web/src/api.rs
index 5422125..1c4b120 100644
--- a/web/src/api.rs
+++ b/web/src/api.rs
@@ -109,17 +109,19 @@ impl LocalStore {
pub async fn migrate(&self) {
// 1. migrate app-state from localstore to indexeddb
- if let Ok(Some(v)) = self.old_store.get("app_state") {
- if let Ok(Some(local_state)) = from_str::