mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 12:25:15 +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';
|
||||
|
||||
const ExpertSettings = () => {
|
||||
const settings = {}; // dummy object
|
||||
const updateFormValue = () => {}; // dummy function
|
||||
|
||||
return (
|
||||
<SettingsCard
|
||||
icon="icon-settings-expert.svg"
|
||||
|
@ -22,38 +19,25 @@ const ExpertSettings = () => {
|
|||
'woocommerce-paypal-payments'
|
||||
) }
|
||||
actionProps={ {
|
||||
callback: updateFormValue,
|
||||
key: 'payNowExperience',
|
||||
} }
|
||||
contentContainer={ false }
|
||||
>
|
||||
<ContentWrapper>
|
||||
{ /*<Content>
|
||||
<ConnectionDetails
|
||||
updateFormValue={ updateFormValue }
|
||||
settings={ settings }
|
||||
/>
|
||||
<ConnectionDetails />
|
||||
</Content>*/ }
|
||||
|
||||
<Content>
|
||||
<Troubleshooting
|
||||
updateFormValue={ updateFormValue }
|
||||
settings={ settings }
|
||||
/>
|
||||
<Troubleshooting />
|
||||
</Content>
|
||||
|
||||
<Content>
|
||||
<PaypalSettings
|
||||
updateFormValue={ updateFormValue }
|
||||
settings={ settings }
|
||||
/>
|
||||
<PaypalSettings />
|
||||
</Content>
|
||||
|
||||
<Content>
|
||||
<OtherSettings
|
||||
updateFormValue={ updateFormValue }
|
||||
settings={ settings }
|
||||
/>
|
||||
<OtherSettings />
|
||||
</Content>
|
||||
</ContentWrapper>
|
||||
</SettingsCard>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue