File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import type {PersonalDetails} from '@src/types/onyx';
1111/**
1212 * Return type of the useContactImport hook.
1313 */
14- type useContactImportResult = {
14+ type UseContactImportResult = {
1515 contacts : Array < SearchOption < PersonalDetails > > ;
1616 contactPermissionState : PermissionStatus ;
1717 importAndSaveContacts : ( ) => void ;
@@ -23,7 +23,7 @@ type useContactImportResult = {
2323 * managing permissions, and transforming contact data
2424 * into a format suitable for use in the app.
2525 */
26- function useContactImport ( ) : useContactImportResult {
26+ function useContactImport ( ) : UseContactImportResult {
2727 const [ contactPermissionState , setContactPermissionState ] = useState < PermissionStatus > ( RESULTS . UNAVAILABLE ) ;
2828 const [ contacts , setContacts ] = useState < Array < SearchOption < PersonalDetails > > > ( [ ] ) ;
2929
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ import ReferralProgramCTA from '@components/ReferralProgramCTA';
1818import SelectionList from '@components/SelectionList' ;
1919import InviteMemberListItem from '@components/SelectionList/InviteMemberListItem' ;
2020import type { SelectionListHandle } from '@components/SelectionList/types' ;
21+ import useContactImport from '@hooks/useContactImport' ;
2122import useDebouncedState from '@hooks/useDebouncedState' ;
2223import useDismissedReferralBanners from '@hooks/useDismissedReferralBanners' ;
2324import useLocalize from '@hooks/useLocalize' ;
@@ -26,7 +27,6 @@ import useOnyx from '@hooks/useOnyx';
2627import usePolicy from '@hooks/usePolicy' ;
2728import useScreenWrapperTransitionStatus from '@hooks/useScreenWrapperTransitionStatus' ;
2829import useThemeStyles from '@hooks/useThemeStyles' ;
29- import useContactImport from '@hooks/useContactImport' ;
3030import { canUseTouchScreen } from '@libs/DeviceCapabilities' ;
3131import getPlatform from '@libs/getPlatform' ;
3232import goToSettings from '@libs/goToSettings' ;
You can’t perform that action at this time.
0 commit comments