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;
|
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;
|
||||||
|
Loading…
Reference in New Issue
Block a user