Skip to content

Commit 3c304f7

Browse files
fixed bug with errors
1 parent 2e838a5 commit 3c304f7

File tree

1 file changed

+1
-1
lines changed
  • Part3/phonebook/frontend/src

1 file changed

+1
-1
lines changed

Part3/phonebook/frontend/src/App.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ const App = (props) => {
7676
)
7777
);
7878
})
79-
.catch(() => {
79+
.catch((error) => {
8080
console.log(error.response.data.error);
8181
setNotification(`${error.response.data.error}`);
8282
setNotificationStyle("error");

0 commit comments

Comments
 (0)