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 = () => {
136136 data . cart . contents . nodes ,
137137 )
138138 }
139- color = "red "
139+ variant = "secondary "
140140 buttonDisabled = { updateCartProcessing }
141141 >
142142 Fjern
@@ -156,7 +156,7 @@ const CartContents = () => {
156156 { ! isCheckoutPage && (
157157 < div className = "flex justify-center mb-4" >
158158 < Link href = "/kasse" passHref >
159- < Button fullWidth > GÅ TIL KASSE</ Button >
159+ < Button variant = "primary" fullWidth > GÅ TIL KASSE</ Button >
160160 </ Link >
161161 </ div >
162162 ) }
@@ -168,7 +168,7 @@ const CartContents = () => {
168168 Ingen produkter i handlekurven
169169 </ h2 >
170170 < Link href = "/produkter" passHref >
171- < Button > Fortsett å handle</ Button >
171+ < Button variant = "primary" > Fortsett å handle</ Button >
172172 </ Link >
173173 </ div >
174174 ) }
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ const Hero = () => (
2727 </ h1 >
2828 < Button
2929 href = "/produkter"
30- isHero
30+ variant = "hero"
3131 >
3232 Se Utvalget
3333 </ Button >
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ const Button = ({
5656 fullWidth ? 'w-full md:w-auto' : ''
5757 } `;
5858
59- if ( href && variant === 'hero' ) {
59+ if ( href ) {
6060 return (
6161 < Link href = { href } className = { classes } >
6262 { children }
You can’t perform that action at this time.
0 commit comments