Skip to content

Commit

Permalink
fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kosmydel committed Mar 18, 2024
1 parent 4b764ea commit dd79adb
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/components/AmountPicker/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ type AmountPickerProps = {
/** Text to display under the main menu item */
furtherDetails?: string;

/** Whether to show the toolip text */
/** Whether to show the tooltip text */
shouldShowTooltips?: boolean;
} & Pick<MenuItemBaseProps, 'rightLabel' | 'description'> &
AmountFormProps;
Expand Down
2 changes: 1 addition & 1 deletion src/components/MultipleAvatars.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ type MultipleAvatarsProps = {
/** Whether avatars are displayed within a reportAction */
isInReportAction?: boolean;

/** Whether to show the toolip text */
/** Whether to show the tooltip text */
shouldShowTooltip?: boolean;

/** Whether avatars are displayed with the highlighted background color instead of the app background color. This is primarily the case for IOU previews. */
Expand Down
2 changes: 1 addition & 1 deletion src/components/SelectionList/selectionListPropTypes.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ const propTypes = {
/** Custom content to display in the footer */
footerContent: PropTypes.oneOfType([PropTypes.func, PropTypes.node]),

/** Whether to show the toolip text */
/** Whether to show the tooltip text */
shouldShowTooltips: PropTypes.bool,

/** Whether to use dynamic maxToRenderPerBatch depending on the visible number of elements */
Expand Down
2 changes: 1 addition & 1 deletion src/components/TextInputWithCurrencySymbol/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ type TextInputWithCurrencySymbolProps = {
/** Whether to hide the currency symbol */
hideCurrencySymbol?: boolean;

/** Extra symbol to display next to the currency symbol */
/** Extra symbol to display */
extraSymbol?: React.ReactNode;
} & Pick<BaseTextInputProps, 'autoFocus'>;

Expand Down
4 changes: 2 additions & 2 deletions src/components/TextPicker/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ type TextSelectorModalProps = {
/** Function to call when the user closes the modal */
onClose: () => void;

/** Whether to show the toolip text */
/** Whether to show the tooltip text */
shouldShowTooltips?: boolean;
} & Pick<MenuItemBaseProps, 'description'> &
TextProps;
Expand All @@ -38,7 +38,7 @@ type TextPickerProps = {
/** Text to display under the main menu item */
furtherDetails?: string;

/** Whether to show the toolip text */
/** Whether to show the tooltip text */
shouldShowTooltips?: boolean;
} & Pick<MenuItemBaseProps, 'rightLabel' | 'description'> &
TextProps;
Expand Down
2 changes: 1 addition & 1 deletion src/components/TextWithTooltip/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ type TextWithTooltipProps = {
/** The text to display */
text: string;

/** Whether to show the toolip text */
/** Whether to show the tooltip text */
shouldShowTooltip: boolean;

/** Additional styles */
Expand Down
4 changes: 2 additions & 2 deletions src/components/ValuePicker/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ type ValueSelectorModalProps = {
/** Function to call when the user closes the modal */
onClose?: () => void;

/** Whether to show the toolip text */
/** Whether to show the tooltip text */
shouldShowTooltips?: boolean;
};

Expand All @@ -56,7 +56,7 @@ type ValuePickerProps = {
/** Text to display under the main menu item */
furtherDetails?: string;

/** Whether to show the toolip text */
/** Whether to show the tooltip text */
shouldShowTooltips?: boolean;
};

Expand Down
1 change: 0 additions & 1 deletion src/libs/actions/TaxRate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ function createPolicyTax(policyID: string, taxRate: TaxRate) {
taxRates: {
taxes: {
[taxRate.code]: {
pendingAction: CONST.RED_BRICK_ROAD_PENDING_ACTION.ADD,
errors: ErrorUtils.getMicroSecondOnyxError('workspace.taxes.errors.genericFailureMessage'),
},
},
Expand Down

0 comments on commit dd79adb

Please sign in to comment.