added state to effect
This commit is contained in:
1 parent
ea86f7f763
commit
fa4048e28c
1 file changed
+1
-1
@@ -60,7 +60,7 @@ export const useHassCollection = <T, D extends {} = {}>(
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, [conn]);
|
}, [conn, state]);
|
||||||
|
|
||||||
if (state.ready) {
|
if (state.ready) {
|
||||||
if (!state.collection) {
|
if (!state.collection) {
|
||||||
|
|||||||
Reference in new issue
Block a user