Fix class max_students default bug
This commit is contained in:
parent
21d1f3106f
commit
c8d5cece83
|
@ -335,7 +335,7 @@ export function InstructorClassDetail(props) {
|
|||
export function InstructorClassList(props) {
|
||||
const { course, setCourse, token } = props;
|
||||
const [open, setOpen] = useState(false);
|
||||
const [input, setInput] = useState({});
|
||||
const [input, setInput] = useState({ max_students: null });
|
||||
const [error, setError] = useState(false);
|
||||
const [loading, setLoading] = useState(false);
|
||||
const [success, setSuccess] = useState(false);
|
||||
|
|
Loading…
Reference in New Issue
Block a user