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));
|
loginComplete().then(() => isMounted.current && setIsLoggedIn(true));
|
||||||
init().then(() => isMounted.current && setReady(true));
|
init().then(() => isMounted.current && setReady(true));
|
||||||
|
|
||||||
const subDone = networkRegistry.subscribeToUpdates(() => {
|
const subDone = networkRegistry.subscribeToUpdates(() =>
|
||||||
console.log("subscribeToUpdates triggered");
|
fetchAndUpdateNetworks(),
|
||||||
fetchAndUpdateNetworks();
|
);
|
||||||
});
|
|
||||||
|
|
||||||
return () => {
|
return () => {
|
||||||
isMounted.current = false; // Track component unmounting
|
isMounted.current = false; // Track component unmounting
|
||||||
|
|
Loading…
Reference in New Issue