Skip to content

Commit 65cb830

Browse files
committed
Use primary prop instead of hard-coded class name
See: #103606 (comment)
1 parent d693918 commit 65cb830

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

client/my-sites/plugins/marketplace-footer/index.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,7 @@ export const MarketplaceFooter = () => {
3333
className={ styles[ 'marketplace-footer__section' ] }
3434
>
3535
{ ( ! isLoggedIn || currentUserSiteCount === 0 ) && (
36-
<Button
37-
className={ `is-primary ${ styles[ 'marketplace-footer__cta' ] }` }
38-
href={ startUrl }
39-
>
36+
<Button primary className={ styles[ 'marketplace-footer__cta' ] } href={ startUrl }>
4037
{ __( 'Get Started' ) }
4138
</Button>
4239
) }

0 commit comments

Comments
 (0)