🔥 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'; 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>