File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -108,13 +108,13 @@ const CartContents = () => {
108
108
} }
109
109
className = "w-16 px-2 py-1 text-center border border-gray-300 rounded mr-2"
110
110
/>
111
- < button
112
- onClick = { ( ) => handleRemoveProductClick ( item . key , data . cart . contents . nodes ) }
113
- className = "text- red-500 hover:text-red-700 "
114
- disabled = { updateCartProcessing }
111
+ < Button
112
+ handleButtonClick = { ( ) => handleRemoveProductClick ( item . key , data . cart . contents . nodes ) }
113
+ color = " red"
114
+ buttonDisabled = { updateCartProcessing }
115
115
>
116
116
Fjern
117
- </ button >
117
+ </ Button >
118
118
</ div >
119
119
< div className = "ml-4" >
120
120
< p className = "text-lg font-semibold" > { item . subtotal } </ p >
@@ -129,7 +129,7 @@ const CartContents = () => {
129
129
</ div >
130
130
{ ! isCheckoutPage && (
131
131
< Link href = "/kasse" passHref >
132
- < Button className = "w-full bg-blue-600 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded" >
132
+ < Button fullWidth >
133
133
GÅ TIL KASSE
134
134
</ Button >
135
135
</ Link >
@@ -140,7 +140,7 @@ const CartContents = () => {
140
140
< div className = "text-center" >
141
141
< h2 className = "text-2xl font-bold mb-4" > Ingen produkter i handlekurven</ h2 >
142
142
< Link href = "/produkter" passHref >
143
- < Button className = "bg-blue-600 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded" >
143
+ < Button >
144
144
Fortsett å handle
145
145
</ Button >
146
146
</ Link >
You can’t perform that action at this time.
0 commit comments