Skip to content

Commit

Permalink
Review
Browse files Browse the repository at this point in the history
  • Loading branch information
dbutenhof committed Jun 26, 2023
1 parent 24f6ff8 commit 79f0863
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dashboard/src/actions/tableOfContentActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const fetchTOC =
}
} catch (error) {
const msg = error.response?.data?.message;
dispatch(showToast(DANGER, msg ? msg : `Error response: ERROR_MSG`));
dispatch(showToast(DANGER, msg ?? `Error response: ${error}`));
}
};

Expand Down

0 comments on commit 79f0863

Please sign in to comment.