Remove checking ffor pubkey every second
This commit is contained in:
parent
fd4f27066e
commit
b238aa30d3
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue