mirror of
https://github.com/PrimalHQ/primal-web-app.git
synced 2024-09-29 08:21:15 +00:00
Limit check for nostr key
This commit is contained in:
parent
016b5c415a
commit
dbd6517e86
@ -93,7 +93,9 @@ const Layout: Component = () => {
|
|||||||
createEffect(() => {
|
createEffect(() => {
|
||||||
if (location.pathname === '/') return;
|
if (location.pathname === '/') return;
|
||||||
|
|
||||||
|
if (!account?.publicKey) {
|
||||||
account?.actions.checkNostrKey();
|
account?.actions.checkNostrKey();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
Loading…
Reference in New Issue
Block a user