Skip to content

Commit

Permalink
fix: typos
Browse files Browse the repository at this point in the history
  • Loading branch information
MrMuzyk committed Jan 26, 2024
1 parent 7f87692 commit 42cd20e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type BusinessTypeSelectorModalProps = {
/** Whether the modal is visible */
isVisible: boolean;

/** State value selected */
/** Business type value selected */
currentBusinessType: string;

/** Function to call when the user selects a business type */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type BusinessTypePickerProps = {
/** Error text to display */
errorText: string;

/** State to display */
/** Business type to display */
value: string;

/** Callback to call when the input changes */
Expand Down Expand Up @@ -49,7 +49,7 @@ function BusinessTypePicker({errorText = '', value, wrapperStyle, onInputChange,
if (businessType.value !== value) {
onInputChange(businessType.value);
}
// If the user selects any state, call the hidePickerModal function with shouldBlur = false
// If the user selects any business type, call the hidePickerModal function with shouldBlur = false
// to prevent the onBlur function from being called.
hidePickerModal(false);
};
Expand All @@ -62,7 +62,7 @@ function BusinessTypePicker({errorText = '', value, wrapperStyle, onInputChange,
<MenuItemWithTopDescription
shouldShowRightIcon
title={title}
description={label || translate('common.state')}
description={label}
descriptionTextStyle={descStyle}
onPress={showPickerModal}
wrapperStyle={wrapperStyle}
Expand Down

0 comments on commit 42cd20e

Please sign in to comment.