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