Skip to content

Commit

Permalink
removed unnecessary console logging
Browse files Browse the repository at this point in the history
  • Loading branch information
JavidSumra committed Oct 17, 2024
1 parent 391dcab commit e39adc5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Components/Users/UserProfile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -322,8 +322,6 @@ export default function UserProfile() {
};

const handleFieldChange = (event: FieldChangeEvent<unknown>) => {
console.log(event);
console.log(userData);
dispatch({
type: "set_form",
form: { ...states.form, [event.name]: event.value },
Expand All @@ -335,7 +333,6 @@ export default function UserProfile() {
event.value == userData?.phone_number);

if (isMobileNumberModified) {
console.log(states.form);
setDirty(false);
} else {
setDirty(true);
Expand Down

0 comments on commit e39adc5

Please sign in to comment.