Skip to content

Commit

Permalink
frontend: fix compile error due to bad type
Browse files Browse the repository at this point in the history
This failed to compile due to a mis-match of types with TypeScript 4.x.
fixes #168.
  • Loading branch information
cardoe committed Nov 2, 2021
1 parent 3344881 commit 82b9b4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion {{cookiecutter.project_slug}}/frontend/src/views/Login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export const Login: FC = () => {
setError(err.message);
} else {
// handle errors thrown from backend
setError(err);
setError(String(err));
}
}
};
Expand Down

0 comments on commit 82b9b4a

Please sign in to comment.