We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d2188a commit cea7933Copy full SHA for cea7933
packages/node_modules/overmind-react/src/index.ts
@@ -74,7 +74,7 @@ export const createHook = <A extends Overmind<Configuration>>(overmind: A) => {
74
useEffect(() => {
75
const paths = overmind.clearTrackState(trackId)
76
77
- if (paths) {
+ if (paths && paths.size) {
78
const listener = overmind.addFlushListener(paths, (flushId) => {
79
forceUpdate(flushId)
80
overmind.eventHub.emitAsync(EventType.COMPONENT_UPDATE, {
0 commit comments