fix: remove debug
This commit is contained in:
parent
8493ac1e63
commit
40ea3f9fc0
|
@ -125,10 +125,9 @@ const LumeProvider = ({ children }) => {
|
|||
loginComplete().then(() => isMounted.current && setIsLoggedIn(true));
|
||||
init().then(() => isMounted.current && setReady(true));
|
||||
|
||||
const subDone = networkRegistry.subscribeToUpdates(() => {
|
||||
console.log("subscribeToUpdates triggered");
|
||||
fetchAndUpdateNetworks();
|
||||
});
|
||||
const subDone = networkRegistry.subscribeToUpdates(() =>
|
||||
fetchAndUpdateNetworks(),
|
||||
);
|
||||
|
||||
return () => {
|
||||
isMounted.current = false; // Track component unmounting
|
||||
|
|
Loading…
Reference in New Issue