Skip to content

Commit

Permalink
fix: fix reset bug
Browse files Browse the repository at this point in the history
  • Loading branch information
valeriocomo committed Dec 10, 2024
1 parent 906f108 commit 942e610
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/components/Editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ export default function Editor() {
const resetFormHandler = () => {
dispatch(resetPubliccodeYmlLanguages());
reset({ ...defaultValues });
checkPubliccodeYmlVersion(getValues() as PublicCode);
};

const setFormDataAfterImport = async (
Expand Down

0 comments on commit 942e610

Please sign in to comment.