Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge dev to main #16

Merged
merged 18 commits into from
Oct 5, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[FIX] bug on boot to get wallet
alexandreTimal committed Sep 29, 2024
commit 78fc1d58d35db63742c555cd14e6c1ed0d76ba09
12 changes: 9 additions & 3 deletions src/App.vue
Original file line number Diff line number Diff line change
@@ -13,9 +13,15 @@
const store = useStore()

onMounted(() => {
const isOpen = localStorage.getItem('open-wallet')
if (isOpen === 'true') {
open.value = true
let isOpen: string | null;
if (sessionStorage.getItem('lock-wallet')) {
isOpen = localStorage.getItem('open-wallet')
if (isOpen === 'true') {
open.value = true
}
} else {
isOpen = "false";
open.value = false
}
// const store = useStore()
// SwitchChain(store)