Remove checking ffor pubkey every second

This commit is contained in:
Bojan Mojsilovic 2024-04-29 16:03:57 +02:00
parent fd4f27066e
commit b238aa30d3

View File

@ -158,11 +158,11 @@ export function AccountProvider(props: { children: JSXElement }) {
let membershipSocket: WebSocket | undefined; let membershipSocket: WebSocket | undefined;
onMount(() => { // onMount(() => {
setInterval(() => { // setInterval(() => {
checkNostrChange(); // checkNostrChange();
}, 1_000); // }, 1_000);
}); // });
const checkNostrChange = async () => { const checkNostrChange = async () => {
if (location.pathname === '/') return; if (location.pathname === '/') return;