File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ const CartContents = () => {
136
136
data . cart . contents . nodes ,
137
137
)
138
138
}
139
- color = "red "
139
+ variant = "secondary "
140
140
buttonDisabled = { updateCartProcessing }
141
141
>
142
142
Fjern
@@ -156,7 +156,7 @@ const CartContents = () => {
156
156
{ ! isCheckoutPage && (
157
157
< div className = "flex justify-center mb-4" >
158
158
< Link href = "/kasse" passHref >
159
- < Button fullWidth > GÅ TIL KASSE</ Button >
159
+ < Button variant = "primary" fullWidth > GÅ TIL KASSE</ Button >
160
160
</ Link >
161
161
</ div >
162
162
) }
@@ -168,7 +168,7 @@ const CartContents = () => {
168
168
Ingen produkter i handlekurven
169
169
</ h2 >
170
170
< Link href = "/produkter" passHref >
171
- < Button > Fortsett å handle</ Button >
171
+ < Button variant = "primary" > Fortsett å handle</ Button >
172
172
</ Link >
173
173
</ div >
174
174
) }
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ const Hero = () => (
27
27
</ h1 >
28
28
< Button
29
29
href = "/produkter"
30
- isHero
30
+ variant = "hero"
31
31
>
32
32
Se Utvalget
33
33
</ Button >
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ const Button = ({
56
56
fullWidth ? 'w-full md:w-auto' : ''
57
57
} `;
58
58
59
- if ( href && variant === 'hero' ) {
59
+ if ( href ) {
60
60
return (
61
61
< Link href = { href } className = { classes } >
62
62
{ children }
You can’t perform that action at this time.
0 commit comments