Merge branch 'fix-search-groups' into 'develop'

Add 'path' to dep list

See merge request soapbox-pub/soapbox!2400
This commit is contained in:
Chewbacca 2023-04-04 18:23:12 +00:00
commit 87fd56ffee

View file

@ -112,7 +112,7 @@ function useEntities<TEntity extends Entity>(
if (isInvalid || isUnset || isStale) {
fetchEntities();
}
}, [isEnabled]);
}, [isEnabled, ...path]);
return {
entities,