Reset state of PathPickerModal after closing

This commit is contained in:
grimsi
2025-04-06 19:51:37 +02:00
parent 0cb7d949a2
commit a8b37f03a1
@@ -20,6 +20,7 @@ export default function PathPickerModal({returnSelectedPath, isOpen, onOpenChang
<Formik initialValues={{path: currentlySelectedPath}}
onSubmit={(values: any) => {
returnSelectedPath(values.path);
setCurrentlySelectedPath("");
onClose();
}}>
{(formik) => {