Skip to content

Commit

Permalink
Merge pull request #1726: Properly use useAppDispatch hook
Browse files Browse the repository at this point in the history
  • Loading branch information
victorlin authored Nov 16, 2023
2 parents 4e2de85 + d1d7814 commit 4c275c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/narrativeEditor/useDatasetFetch.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {};
Expand Down

0 comments on commit 4c275c8

Please sign in to comment.