···2121 url,
2222 stateParam,
2323 state,
2424+ onComplete,
2425 onSuccess,
2526 onError,
2627}: {
2728 url: string
2829 stateParam: string
2930 state?: SignupState
3131+ onComplete: () => void
3032 onSuccess: (code: string) => void
3133 onError: (error: unknown) => void
3234}) {
···71737274 // We want to delay the completion of this screen ever so slightly so that it doesn't appear to be a glitch if it completes too fast
7375 wasSuccessful.current = true
7676+ onComplete()
7477 const now = Date.now()
7578 const timeTaken = now - startedAt.current
7679 if (timeTaken < MIN_DELAY) {