Skip to content

Commit

Permalink
fix: lint issues with types import
Browse files Browse the repository at this point in the history
  • Loading branch information
BartoszGrajdek committed Jan 5, 2024
1 parent 2b82415 commit 85ba4ae
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/components/HoldMenuSectionList.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import React from 'react';
import {ImageSourcePropType, View} from 'react-native';
import {SvgProps} from 'react-native-svg';
import {type ImageSourcePropType, View} from 'react-native';
import type {SvgProps} from 'react-native-svg';
import useLocalize from '@hooks/useLocalize';
import useThemeStyles from '@hooks/useThemeStyles';
import variables from '@styles/variables';
import {TranslationPaths} from '@src/languages/types';
import type {TranslationPaths} from '@src/languages/types';
import Icon from './Icon';
import * as Illustrations from './Icon/Illustrations';
import Text from './Text';
Expand Down
4 changes: 2 additions & 2 deletions src/components/ProcessMoneyRequestHoldMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import useLocalize from '@hooks/useLocalize';
import useThemeStyles from '@hooks/useThemeStyles';
import Button from './Button';
import HoldMenuSectionList from './HoldMenuSectionList';
import {PopoverAnchorPosition} from './Modal/types';
import type {PopoverAnchorPosition} from './Modal/types';
import Popover from './Popover';
import {AnchorAlignment} from './Popover/types';
import type {AnchorAlignment} from './Popover/types';
import Text from './Text';
import TextPill from './TextPill';

Expand Down
2 changes: 1 addition & 1 deletion src/components/TextPill.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import {StyleProp, TextStyle} from 'react-native';
import type {StyleProp, TextStyle} from 'react-native';
// eslint-disable-next-line no-restricted-imports
import useThemeStyles from '@hooks/useThemeStyles';
import colors from '@styles/theme/colors';
Expand Down

0 comments on commit 85ba4ae

Please sign in to comment.