Skip to content

Commit

Permalink
Fix console.error
Browse files Browse the repository at this point in the history
  • Loading branch information
jtquach1 committed Feb 7, 2024
1 parent f9737ef commit e9b5d6c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const EtasuPopUp = (props: any) => {
//Adding data to state
getDoctorOrders(DoctorOrders);
})
.catch(error => console.error('Error: $(error'));
.catch(error => console.error('Error', error));
};

const handleClose = () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const PickedUpButton = (props: any) => {
props.data.getAllDoctorOrders();
console.log(response.data);
})
.catch(error => console.error('Error: $(error'));
.catch(error => console.error('Error', error));
};

return (
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/views/DoctorOrders/OrderCard/VerifyButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const VerifyButton = (props: any) => {
props.data.getAllDoctorOrders();
console.log(response.data);
})
.catch(error => console.error('Error: $(error'));
.catch(error => console.error('Error', error));
};

return (
Expand Down

0 comments on commit e9b5d6c

Please sign in to comment.