Skip to content

Commit

Permalink
Fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
rayane-djouah committed Mar 2, 2024
1 parent 2f2944f commit 7c2b998
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/TaxPicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ import useLocalize from '@hooks/useLocalize';
import useStyleUtils from '@hooks/useStyleUtils';
import useThemeStyles from '@hooks/useThemeStyles';
import * as OptionsListUtils from '@libs/OptionsListUtils';
import type {PolicyTaxRateWithDefault} from '@libs/OptionsListUtils';
import * as TransactionUtils from '@libs/TransactionUtils';
import CONST from '@src/CONST';
import type {TaxRatesWithDefault} from '@src/types/onyx';
import OptionsSelector from './OptionsSelector';

type TaxPickerProps = {
/** Collection of tax rates attached to a policy */
taxRates: PolicyTaxRateWithDefault;
taxRates: TaxRatesWithDefault;

/** The selected tax rate of an expense */
selectedTaxRate?: string;
Expand Down
2 changes: 1 addition & 1 deletion src/libs/OptionsListUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2054,4 +2054,4 @@ export {
getShareLogOptions,
};

export type {MemberForList, CategorySection, GetOptions, PolicyTaxRateWithDefault};
export type {MemberForList, CategorySection, GetOptions};

0 comments on commit 7c2b998

Please sign in to comment.