[FE] Remove artificial 2s delay on register creation

This commit is contained in:
Araozu 2023-12-14 10:42:48 -05:00
parent ad20a991e0
commit 840ed0187d

View File

@ -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,