mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 18:16:38 +08:00
🔥 Remove dummy props
This commit is contained in:
parent
5c34f2f78b
commit
d09a26d4e7
1 changed files with 4 additions and 20 deletions
|
@ -9,9 +9,6 @@ import PaypalSettings from './Blocks/PaypalSettings';
|
||||||
import OtherSettings from './Blocks/OtherSettings';
|
import OtherSettings from './Blocks/OtherSettings';
|
||||||
|
|
||||||
const ExpertSettings = () => {
|
const ExpertSettings = () => {
|
||||||
const settings = {}; // dummy object
|
|
||||||
const updateFormValue = () => {}; // dummy function
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<SettingsCard
|
<SettingsCard
|
||||||
icon="icon-settings-expert.svg"
|
icon="icon-settings-expert.svg"
|
||||||
|
@ -22,38 +19,25 @@ const ExpertSettings = () => {
|
||||||
'woocommerce-paypal-payments'
|
'woocommerce-paypal-payments'
|
||||||
) }
|
) }
|
||||||
actionProps={ {
|
actionProps={ {
|
||||||
callback: updateFormValue,
|
|
||||||
key: 'payNowExperience',
|
key: 'payNowExperience',
|
||||||
} }
|
} }
|
||||||
contentContainer={ false }
|
contentContainer={ false }
|
||||||
>
|
>
|
||||||
<ContentWrapper>
|
<ContentWrapper>
|
||||||
{ /*<Content>
|
{ /*<Content>
|
||||||
<ConnectionDetails
|
<ConnectionDetails />
|
||||||
updateFormValue={ updateFormValue }
|
|
||||||
settings={ settings }
|
|
||||||
/>
|
|
||||||
</Content>*/ }
|
</Content>*/ }
|
||||||
|
|
||||||
<Content>
|
<Content>
|
||||||
<Troubleshooting
|
<Troubleshooting />
|
||||||
updateFormValue={ updateFormValue }
|
|
||||||
settings={ settings }
|
|
||||||
/>
|
|
||||||
</Content>
|
</Content>
|
||||||
|
|
||||||
<Content>
|
<Content>
|
||||||
<PaypalSettings
|
<PaypalSettings />
|
||||||
updateFormValue={ updateFormValue }
|
|
||||||
settings={ settings }
|
|
||||||
/>
|
|
||||||
</Content>
|
</Content>
|
||||||
|
|
||||||
<Content>
|
<Content>
|
||||||
<OtherSettings
|
<OtherSettings />
|
||||||
updateFormValue={ updateFormValue }
|
|
||||||
settings={ settings }
|
|
||||||
/>
|
|
||||||
</Content>
|
</Content>
|
||||||
</ContentWrapper>
|
</ContentWrapper>
|
||||||
</SettingsCard>
|
</SettingsCard>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue