🔥 Remove dummy props

This commit is contained in:
Philipp Stracker 2025-03-25 16:58:29 +01:00
parent 5c34f2f78b
commit d09a26d4e7
No known key found for this signature in database

View file

@ -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>