Skip to content

Commit

Permalink
Remove unneeded comments
Browse files Browse the repository at this point in the history
  • Loading branch information
okaycj committed Apr 10, 2024
1 parent eb9e31d commit 9e36eeb
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/lookit-initjspsych/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 9e36eeb

Please sign in to comment.