Skip to content

Commit

Permalink
final
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeffrin2005 committed Dec 21, 2024
1 parent 2557354 commit 7d7b8f4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/Form/Form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ const Form = <T extends FormDetails>({
const [isLoading, setIsLoading] = useState(!!asyncGetDefaults);
const [state, dispatch] = useAutoSaveReducer<T>(formReducer, initial);
const formVals = useRef(props.defaults);
// is_form modify

const [isFormModified, setIsFormModified] = useState(false);

useEffect(() => {
Expand Down

0 comments on commit 7d7b8f4

Please sign in to comment.