Compare commits
No commits in common. "v0.1.0-develop.22" and "v0.1.0-develop.21" have entirely different histories.
v0.1.0-dev
...
v0.1.0-dev
|
@ -1,10 +1,3 @@
|
|||
# [0.1.0-develop.22](https://git.lumeweb.com/LumeWeb/sdk/compare/v0.1.0-develop.21...v0.1.0-develop.22) (2023-10-12)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* remove debug ([40ea3f9](https://git.lumeweb.com/LumeWeb/sdk/commit/40ea3f9fc0c779bec8a7215ecf37e1d649083be6))
|
||||
|
||||
# [0.1.0-develop.21](https://git.lumeweb.com/LumeWeb/sdk/compare/v0.1.0-develop.20...v0.1.0-develop.21) (2023-10-12)
|
||||
|
||||
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "@lumeweb/sdk",
|
||||
"version": "0.1.0-develop.22",
|
||||
"version": "0.1.0-develop.21",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@lumeweb/sdk",
|
||||
"version": "0.1.0-develop.22",
|
||||
"version": "0.1.0-develop.21",
|
||||
"dependencies": {
|
||||
"@lumeweb/kernel-network-registry-client": "0.1.0-develop.10",
|
||||
"@lumeweb/libkernel": "0.1.0-develop.65",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@lumeweb/sdk",
|
||||
"version": "0.1.0-develop.22",
|
||||
"version": "0.1.0-develop.21",
|
||||
"type": "module",
|
||||
"main": "lib/index.js",
|
||||
"types": "lib/src/index.d.ts",
|
||||
|
|
|
@ -125,9 +125,10 @@ 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");
|
||||
fetchAndUpdateNetworks();
|
||||
});
|
||||
|
||||
return () => {
|
||||
isMounted.current = false; // Track component unmounting
|
||||
|
|
Loading…
Reference in New Issue