Fix max students bug when adding multiple classes
This commit is contained in:
parent
2c59b93402
commit
f88941993c
|
@ -359,7 +359,7 @@ export function InstructorClassList(props) {
|
|||
requester('/sessions/', 'POST', token, data)
|
||||
.then(res => {
|
||||
setSuccess(res.id);
|
||||
setInput({});
|
||||
setInput({ max_students: null });
|
||||
setLoading(false);
|
||||
setError(false);
|
||||
setOpen(false);
|
||||
|
|
Loading…
Reference in New Issue
Block a user