Skip to content

Commit b0c6f38

Browse files
committed
Logg calls to SetupFreeListings.onSettingsChange
related to #1750 (comment)
1 parent e464c76 commit b0c6f38

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

js/src/setup-mc/setup-stepper/saved-setup-stepper.js

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -169,13 +169,16 @@ const SavedSetupStepper = ( { savedStep } ) => {
169169
'google-listings-and-ads'
170170
)
171171
) }
172-
onSettingsChange={ handleFormChange.bind(
173-
saveSettings,
174-
__(
175-
'There was an error saving settings.',
176-
'google-listings-and-ads'
177-
)
178-
) }
172+
onSettingsChange={ ( val ) => {
173+
console.log( 'onSettingsChange', val );
174+
handleFormChange.bind(
175+
saveSettings,
176+
__(
177+
'There was an error saving settings.',
178+
'google-listings-and-ads'
179+
)
180+
)( val );
181+
} }
179182
onShippingRatesChange={ handleFormChange.bind(
180183
saveShippingRates,
181184
__(

0 commit comments

Comments
 (0)