···21 url,
22 stateParam,
23 state,
024 onSuccess,
25 onError,
26}: {
27 url: string
28 stateParam: string
29 state?: SignupState
030 onSuccess: (code: string) => void
31 onError: (error: unknown) => void
32}) {
···7172 // 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
73 wasSuccessful.current = true
074 const now = Date.now()
75 const timeTaken = now - startedAt.current
76 if (timeTaken < MIN_DELAY) {
···21 url,
22 stateParam,
23 state,
24+ onComplete,
25 onSuccess,
26 onError,
27}: {
28 url: string
29 stateParam: string
30 state?: SignupState
31+ onComplete: () => void
32 onSuccess: (code: string) => void
33 onError: (error: unknown) => void
34}) {
···7374 // 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
75 wasSuccessful.current = true
76+ onComplete()
77 const now = Date.now()
78 const timeTaken = now - startedAt.current
79 if (timeTaken < MIN_DELAY) {