File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
src/features/product/components Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -174,6 +174,9 @@ export default function ProductList() {
174174 defaultValue = { option . value }
175175 type = "checkbox"
176176 defaultChecked = { option . checked }
177+ onChange = { ( e ) => {
178+ handleFilter ( e , section , option ) ;
179+ } }
177180 className = "h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-500"
178181 />
179182 < label
@@ -361,13 +364,13 @@ export default function ProductList() {
361364 < div className = "mt-4 flex justify-between" >
362365 < div >
363366 < h3 className = "text-sm text-gray-700" >
364- < a href = { product . thumbnail } >
367+ < div href = { product . thumbnail } >
365368 < span
366369 aria-hidden = "true"
367370 className = "absolute inset-0"
368371 />
369372 { product . title }
370- </ a >
373+ </ div >
371374 </ h3 >
372375 < p className = "mt-1 text-sm text-gray-500" >
373376 < StarIcon className = "w-6 h-6 inline" > </ StarIcon >
You can’t perform that action at this time.
0 commit comments