♻️ Move checkbox-configuraton into component

This commit is contained in:
Philipp Stracker 2025-01-17 16:08:25 +01:00
parent e78e7ec3f3
commit 8b945dab95
No known key found for this signature in database
2 changed files with 10 additions and 11 deletions

View file

@ -156,15 +156,6 @@ export const useTaglineProps = ( location ) => {
getLocationProp( location, 'layout' );
return {
choices: [
{
value: 'tagline',
label: __(
'Show tagline below buttons',
'woocommerce-paypal-payments'
),
},
],
isAvailable,
tagline: isAvailable ? getLocationProp( location, 'tagline' ) : false,
setTagline: ( tagline ) =>