From 9e36eebdd4387c47aa782b97bc77ac4bd6283cf4 Mon Sep 17 00:00:00 2001 From: CJ Green <44074998+okaycj@users.noreply.github.com> Date: Wed, 10 Apr 2024 18:05:53 -0400 Subject: [PATCH] Remove unneeded comments --- packages/lookit-initjspsych/src/utils.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/packages/lookit-initjspsych/src/utils.ts b/packages/lookit-initjspsych/src/utils.ts index 48d2c964..0f15eab4 100644 --- a/packages/lookit-initjspsych/src/utils.ts +++ b/packages/lookit-initjspsych/src/utils.ts @@ -35,12 +35,6 @@ export function on_finish(responseUuid: string, userFunc?: UserFunc) { * ran, this will redirect to the study's exit url. */ return async function (data: DataCollection) { - /** - * The on_data_update and on_finish functions aren't called as async - * functions. This means that each function isn't completed before the - * next is ran. To handle this, we're going to abort the patch function - * in on_data_update. This will cause a reliable error, - */ const { exit_url } = window.chs.study.attributes; await Api.finish();