refactor: extract welcome modal for consistency

This commit is contained in:
ramvignesh-b
2026-04-29 23:12:39 +05:30
parent d9e1febfee
commit 70a056a1d6
5 changed files with 102 additions and 97 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
import { openDB } from "idb";
// we use this to store master key in browser - secure and good UX
// we use indexedDB to securely store master key for easier access across tabs (better UX than having to store in session)
const db = openDB("piku-keys", 1, {
upgrade(db) {
db.createObjectStore("master-key");