Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/mraysu/add students backend #57

Closed
wants to merge 9 commits into from
Prev Previous commit
Next Next commit
Fixed submit handler
  • Loading branch information
mraysu committed Feb 21, 2024
commit c7325bd65da12b219ff05dd1fd2149df8e050d24
1 change: 0 additions & 1 deletion frontend/src/components/StudentFormButton.tsx
Original file line number Diff line number Diff line change
@@ -72,7 +72,6 @@ export default function StudentFormButton({
(result) => {
if (result.success) {
reset(); // only clear form on success
handleSubmit?.(result.data);
} else {
console.log(result.error);
alert("Unable to create student: " + result.error);
Loading