Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Commit b376bcb

Browse files
authored
Remove class 'button' from Button component (#2494)
1 parent aedba81 commit b376bcb

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

assets/js/base/components/cart-checkout/button/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import './style.scss';
1515
*/
1616
const Button = ( { className, showSpinner = false, children, ...props } ) => {
1717
const buttonClassName = classNames(
18-
'button',
1918
'wc-block-components-button',
2019
className,
2120
{

assets/js/base/components/cart-checkout/button/style.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.button.wc-block-components-button:not(.is-link) {
1+
.wc-block-components-button:not(.is-link) {
22
align-items: center;
33
background-color: $black;
44
color: $white;

0 commit comments

Comments
 (0)