Skip to content

Commit

Permalink
fix: refactor changes from #18386
Browse files Browse the repository at this point in the history
  • Loading branch information
derrickmehaffy committed Jan 3, 2024
1 parent a99ed82 commit 950b677
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ const CollectionTypeFormWrapper = ({ allLayoutData, children, slug, id, origin }

// This is needed in order to reset the form when the query changes
const init = async () => {
dispatch(getData());
await dispatch(getData());
dispatch(initForm(rawQuery));
};

Expand Down

0 comments on commit 950b677

Please sign in to comment.