integrate existing flow into onboarding

This commit is contained in:
Samuel Newman
2025-12-05 17:15:22 +02:00
committed by Eric Bailey
parent f00b709cc8
commit da55868ddc
3 changed files with 3 additions and 3 deletions
@@ -25,7 +25,7 @@ export function GetContacts({
onCancel,
}: {
state: Extract<State, {step: '3: get contacts'}>
dispatch: React.Dispatch<Action>
dispatch: React.ActionDispatch<[Action]>
onCancel: () => void
}) {
const {_} = useLingui()
@@ -44,7 +44,7 @@ export function PhoneInput({
onSkip,
}: {
state: Extract<State, {step: '1: phone input'}>
dispatch: React.Dispatch<Action>
dispatch: React.ActionDispatch<[Action]>
showSkipButton: boolean
onSkip: () => void
}) {
@@ -29,7 +29,7 @@ export function VerifyNumber({
onSkip,
}: {
state: Extract<State, {step: '2: verify number'}>
dispatch: React.Dispatch<Action>
dispatch: React.ActionDispatch<[Action]>
showSkipButton: boolean
onSkip: () => void
}) {