[FE] Remove artificial 2s delay on register creation
This commit is contained in:
parent
ad20a991e0
commit
840ed0187d
@ -27,8 +27,6 @@ export function RegisterPreview(props: {selections: Array<RegistrationPreview>,
|
|||||||
setLoading(true);
|
setLoading(true);
|
||||||
setError("");
|
setError("");
|
||||||
|
|
||||||
await wait(2000);
|
|
||||||
|
|
||||||
const registers: RegisterBatchCreate = props.selections.map(({courseId, date, customLabel, is_preview, custom_label_id}) => ({
|
const registers: RegisterBatchCreate = props.selections.map(({courseId, date, customLabel, is_preview, custom_label_id}) => ({
|
||||||
person_id: props.personId!,
|
person_id: props.personId!,
|
||||||
course_id: courseId,
|
course_id: courseId,
|
||||||
|
Loading…
Reference in New Issue
Block a user