diff --git a/src/components/narrativeEditor/useDatasetFetch.js b/src/components/narrativeEditor/useDatasetFetch.js index 9ce53c3e2..c85de38c4 100644 --- a/src/components/narrativeEditor/useDatasetFetch.js +++ b/src/components/narrativeEditor/useDatasetFetch.js @@ -14,7 +14,7 @@ import { FetchError } from "../../util/exceptions"; */ export function useDatasetFetch(datasets) { - const dispatchRedux = useAppDispatch; + const dispatchRedux = useAppDispatch(); const [datasetResponses, dispatchDatasetResponses] = useReducer( (state, action) => { if (action.reset) return {};