Skip to content

Commit

Permalink
fix Typescript check error
Browse files Browse the repository at this point in the history
  • Loading branch information
Shahe Shahinyan committed Dec 28, 2023
1 parent 0b16d84 commit cdea74d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/SignInButtons/IconButton.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React from 'react';
import {SvgProps} from 'react-native-svg';
import {ValueOf} from 'type-fest';
import Icon from '@components/Icon';
import * as Expensicons from '@components/Icon/Expensicons';
Expand All @@ -8,6 +7,7 @@ import useLocalize from '@hooks/useLocalize';
import useThemeStyles from '@hooks/useThemeStyles';
import CONST from '@src/CONST';
import {TranslationPaths} from '@src/languages/types';
import IconAsset from '@src/types/utils/IconAsset';

const providerData = {
[CONST.SIGN_IN_METHOD.APPLE]: {
Expand All @@ -21,7 +21,7 @@ const providerData = {
} satisfies Record<
ValueOf<typeof CONST.SIGN_IN_METHOD>,
{
icon: React.FC<SvgProps>;
icon: IconAsset;
accessibilityLabel: TranslationPaths;
}
>;
Expand Down

0 comments on commit cdea74d

Please sign in to comment.