diff --git a/package.json b/package.json index 5b33a42f..e2a8fec6 100644 --- a/package.json +++ b/package.json @@ -151,7 +151,7 @@ "blind-signatures", "lightning-network" ], - "version": "0.1.1", + "version": "0.1.2", "license": "AGPL-3.0-only", "bugs": { "url": "https://github.com/cashubtc/eNuts/issues" diff --git a/src/screens/Dashboard.tsx b/src/screens/Dashboard.tsx index f3e60782..e1667b76 100644 --- a/src/screens/Dashboard.tsx +++ b/src/screens/Dashboard.tsx @@ -244,11 +244,13 @@ export default function Dashboard({ navigation, route }: TDashboardPageProps) { store.get(STORE_KEYS.nostrReseted), ]) setHasMint(userHasMints) - l({ nutPub, seenNostrIssue }) - setModal(prev => ({ - ...prev, - resetNostr: isStr(nutPub) && nutPub.length > 0 && seenNostrIssue !== '1' - })) + const t = setTimeout(() => { + setModal(prev => ({ + ...prev, + resetNostr: isStr(nutPub) && nutPub.length > 0 && seenNostrIssue !== '1' + })) + clearTimeout(t) + }, 1000) })() // eslint-disable-next-line react-hooks/exhaustive-deps }, [])