Skip to content

Commit

Permalink
little bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
santi-g-s committed May 23, 2023
1 parent beccdce commit 5eb8603
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/src/NotFound/NotFoundPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function NotFoundPage() {
</Typography>
</Grid>
<Grid item>
<Button href="/home" variant="text">
<Button href="/home-dashboard" variant="text">
Go to home page
</Button>
</Grid>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function Under18({ data1 }: RevenueWidgetProps) {

if (cityData) {
const under18sList: { [key: number]: number } =
cityData?.data.indicators.persons_in_poverty;
cityData?.data.indicators.under18s;

let under18sValue = 0;
const values = Object.values(under18sList);
Expand Down
3 changes: 2 additions & 1 deletion server/src/controllers/auth.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,8 @@ const sendResetPasswordEmail = async (
message: `Reset link has been sent to ${lowercaseEmail}`,
}),
)
.catch(() => {
.catch((e) => {
console.error(e);
next(ApiError.internal('Failed to email reset password link.'));
});
};
Expand Down

0 comments on commit 5eb8603

Please sign in to comment.