File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change
1
+ [tools ]
2
+ node = " 16"
Original file line number Diff line number Diff line change @@ -7,6 +7,12 @@ module.exports = {
7
7
} ,
8
8
images : {
9
9
remotePatterns : [
10
+ {
11
+ protocol : "https" ,
12
+ hostname : "i.dummyjson.com" ,
13
+ pathname : "/**" ,
14
+ } ,
15
+
10
16
{
11
17
protocol : "https" ,
12
18
hostname : "cdn.dummyjson.com" ,
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ export default function Hits({ setSearch }) {
28
28
return (
29
29
< div
30
30
key = { product . id }
31
- className = "list-group-item list-group-item-action border-0 ripple row d-flex align-items-center"
31
+ className = "border-0 list-group-item list-group-item-action ripple row d-flex align-items-center"
32
32
// aria-current="true"
33
33
style = { {
34
34
borderRadius : "0" ,
@@ -40,7 +40,7 @@ export default function Hits({ setSearch }) {
40
40
onClick = { handleClick . bind ( product . id ) }
41
41
>
42
42
< Image
43
- src = { product ?. thumbnail }
43
+ src = { `https://cdn.dummyjson.com/ product-images/ ${ product ?. id } / thumbnail.jpg` }
44
44
alt = { product ?. title }
45
45
width = { 70 }
46
46
height = { 80 }
You can’t perform that action at this time.
0 commit comments