mirror of
https://github.com/PrimalHQ/primal-web-app.git
synced 2024-10-01 17:31:13 +00:00
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
Block a user