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
1 changed files with 5 additions and 5 deletions

View File

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