Skip to content

Commit 82b9b4a

Browse files
committed
frontend: fix compile error due to bad type
This failed to compile due to a mis-match of types with TypeScript 4.x. fixes #168.
1 parent 3344881 commit 82b9b4a

File tree

1 file changed

+1
-1
lines changed
  • {{cookiecutter.project_slug}}/frontend/src/views

1 file changed

+1
-1
lines changed

{{cookiecutter.project_slug}}/frontend/src/views/#.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export const Login: FC = () => {
5151
setError(err.message);
5252
} else {
5353
// handle errors thrown from backend
54-
setError(err);
54+
setError(String(err));
5555
}
5656
}
5757
};

0 commit comments

Comments
 (0)