kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
Merge branch 'fix-search-groups' into 'develop'
Add 'path' to dep list See merge request soapbox-pub/soapbox!2400environments/review-develop-3zknud/deployments/3088
commit
87fd56ffee
|
@ -112,7 +112,7 @@ function useEntities<TEntity extends Entity>(
|
||||||
if (isInvalid || isUnset || isStale) {
|
if (isInvalid || isUnset || isStale) {
|
||||||
fetchEntities();
|
fetchEntities();
|
||||||
}
|
}
|
||||||
}, [isEnabled]);
|
}, [isEnabled, ...path]);
|
||||||
|
|
||||||
return {
|
return {
|
||||||
entities,
|
entities,
|
||||||
|
|
Ładowanie…
Reference in New Issue