File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -23,23 +23,23 @@ const polls = [{
23
23
contents : {
24
24
left :{
25
25
url : 'https://cdn.psychologytoday.com/sites/default/files/field_blog_entry_images/2019-06/pexels-photo-556667.jpeg' ,
26
- votes : 0
27
- } ,
26
+ votes : Math . floor ( Math . random ( ) * 101 )
27
+ } ,
28
28
right :{
29
29
url : 'https://images.pexels.com/photos/556666/pexels-photo-556666.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=500' ,
30
- votes : 0
31
- }
30
+ votes : Math . floor ( Math . random ( ) * 101 )
31
+ }
32
32
}
33
33
} , {
34
34
contents : {
35
35
left :{
36
36
url : 'https://cdn.psychologytoday.com/sites/default/files/field_blog_entry_images/2019-06/pexels-photo-556667.jpeg' ,
37
- votes : 0
38
- } ,
37
+ votes : Math . floor ( Math . random ( ) * 101 )
38
+ } ,
39
39
right :{
40
40
url : 'https://images.pexels.com/photos/556666/pexels-photo-556666.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=500' ,
41
- votes : 0
42
- }
41
+ votes : Math . floor ( Math . random ( ) * 101 )
42
+ }
43
43
}
44
44
} ] ;
45
45
You can’t perform that action at this time.
0 commit comments