fix: rebase main
This commit is contained in:
@@ -201,10 +201,11 @@ const AddModal: React.FC<AddModalProps> = ({
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
initValues();
|
||||
if (!open) {
|
||||
setIsChanged(false);
|
||||
cacheFormRef.current = {} as any;
|
||||
} else {
|
||||
initValues();
|
||||
}
|
||||
}, [open]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user