Limit check for nostr key

This commit is contained in:
Bojan Mojsilovic 2024-09-12 14:49:21 +02:00
parent 016b5c415a
commit dbd6517e86

View File

@ -93,7 +93,9 @@ const Layout: Component = () => {
createEffect(() => {
if (location.pathname === '/') return;
account?.actions.checkNostrKey();
if (!account?.publicKey) {
account?.actions.checkNostrKey();
}
});
return (