Skip to content

Commit

Permalink
the working form
Browse files Browse the repository at this point in the history
  • Loading branch information
melkamu372 committed Sep 21, 2023
1 parent 66fcc85 commit 9cafa73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/component/GeneralInfo/PersonalDetails.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { useState, useEffect} from "react";
import Button from "../Button";
import defaultPerson from '../../data/defaultPerson.json'
import emptyPerson from '../../data/emptyPerson.json'
function PersonalDetails({updatePerson,LoadDefault}) {
function PersonalDetails({updatePerson}) {
const [person, setPersonalInfo] = useState(defaultPerson);
useEffect(() => {
updatePerson(person);
Expand Down

0 comments on commit 9cafa73

Please sign in to comment.