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