rename sync to find

FCF (Find Contacts Flow)
This commit is contained in:
Samuel Newman
2025-12-03 15:54:48 +02:00
parent 97a4176861
commit 2c60275e01
12 changed files with 37 additions and 37 deletions
@@ -4,7 +4,7 @@ import {VerifyNumber} from './screens/VerifyNumber'
import {ViewMatches} from './screens/ViewMatches'
import {type Action, type State} from './state'
export function SyncContactsFlow({
export function FindContactsFlow({
state,
dispatch,
onCancel,
@@ -0,0 +1,3 @@
export function FindContactsFlow() {
throw new Error('FindContactsFlow is not available on web')
}
@@ -1,3 +0,0 @@
export function SyncContactsFlow() {
throw new Error('SyncContactsFlow is not available on web')
}
@@ -363,7 +363,7 @@ function MatchItem({
<ProfileCard.FollowButton
profile={profile}
moderationOpts={moderationOpts}
logContext="SyncContacts"
logContext="FindContacts"
/>
{!shadow.viewer?.following && (
<Button
+1 -1
View File
@@ -171,7 +171,7 @@ function assertCurrentStep<S extends State['step']>(
}
}
export function useSyncContactsFlowState(
export function useFindContactsFlowState(
initialState: State = {step: '1: phone input'},
) {
return useReducer(reducer, initialState)