Skip to content

Commit

Permalink
fix(rename) reset internal form value on cancel of rename form
Browse files Browse the repository at this point in the history
Signed-off-by: David Edler <[email protected]>
  • Loading branch information
edlerd committed Jun 25, 2024
1 parent 1693d00 commit 616fa5d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/RenameHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ const RenameHeader: FC<Props> = ({
}
void formik.setValues({
...formik.values,
name: name,
isRenaming: !formik.values.isRenaming,
});
};
Expand Down

0 comments on commit 616fa5d

Please sign in to comment.