Merge branch 'fix-search-groups' into 'develop'
Add 'path' to dep list See merge request soapbox-pub/soapbox!2400
This commit is contained in:
commit
87fd56ffee
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ function useEntities<TEntity extends Entity>(
|
|||
if (isInvalid || isUnset || isStale) {
|
||||
fetchEntities();
|
||||
}
|
||||
}, [isEnabled]);
|
||||
}, [isEnabled, ...path]);
|
||||
|
||||
return {
|
||||
entities,
|
||||
|
|
Loading…
Reference in a new issue