Skip to content

Commit

Permalink
Updates props per CR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
dsawardekar committed Sep 5, 2024
1 parent 630c73d commit 3e4910f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import ConditionalSection from '.~/components/conditional-section';
*/
const FormContent = ( {
submitLabel = __( 'Complete setup', 'google-listings-and-ads' ),
hideTaxRates = false,
hideTaxRates,

Check warning on line 29 in js/src/components/free-listings/setup-free-listings/form-content.js

View check run for this annotation

Codecov / codecov/patch

js/src/components/free-listings/setup-free-listings/form-content.js#L29

Added line #L29 was not covered by tests
} ) => {
const { values, isValidForm, handleSubmit, adapter } =
useAdaptiveFormContext();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ const getSettings = ( values ) => {
* @param {() => void} [props.onContinue] Callback called once continue button is clicked. Could be async. While it's being resolved the form would turn into a saving state.
* @param {string} [props.submitLabel] Submit button label, to be forwarded to `FormContent`.
* @param {JSX.Element} props.headerTitle Title in the header block of this setup.
* @param {boolean} [props.hideTaxRates] Whether to hide tax rate section, to be forwarded to `FormContent`.
* @param {boolean} [props.hideTaxRates=false] Whether to hide tax rate section, to be forwarded to `FormContent`.
*/
const SetupFreeListings = ( {
targetAudience,
Expand Down

0 comments on commit 3e4910f

Please sign in to comment.