[FE] Remove artificial 2s delay on register creation

master
Araozu 2023-12-14 10:42:48 -05:00
parent ad20a991e0
commit 840ed0187d
1 changed files with 0 additions and 2 deletions

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,