Compare commits
3 Commits
v0.1.0-dev
...
v0.1.0-dev
Author | SHA1 | Date |
---|---|---|
semantic-release-bot | 62459cfb3a | |
Derrick Hammer | 2ffc9a69f0 | |
Derrick Hammer | 40ea3f9fc0 |
|
@ -1,3 +1,10 @@
|
|||
# [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.21",
|
||||
"version": "0.1.0-develop.22",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@lumeweb/sdk",
|
||||
"version": "0.1.0-develop.21",
|
||||
"version": "0.1.0-develop.22",
|
||||
"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.21",
|
||||
"version": "0.1.0-develop.22",
|
||||
"type": "module",
|
||||
"main": "lib/index.js",
|
||||
"types": "lib/src/index.d.ts",
|
||||
|
|
|
@ -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