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 eb2b9e1 commit c6fe5d2Copy full SHA for c6fe5d2
1 file changed
packages/ra-core/src/controller/list/useListParams.ts
@@ -88,8 +88,8 @@ export const useListParams = ({
88
const location = useLocation();
89
const navigate = useNavigate();
90
const [localParams, setLocalParams] = useState(defaultParams);
91
- // As we can't conditionally call a hook, ff the storeKey is false,
92
- // we'll ignore the params variable later on and won't call setParams either.
+ // As we can't conditionally call a hook, if the storeKey is false,
+ // we'll ignore the params variable later on and won't call setParams either.
93
const [params, setParams] = useStore(
94
storeKey || `${resource}.listParams`,
95
defaultParams
0 commit comments