File tree Expand file tree Collapse file tree 1 file changed +16
-11
lines changed Expand file tree Collapse file tree 1 file changed +16
-11
lines changed Original file line number Diff line number Diff line change 2626 })
2727 })
2828 })
29-
29+ console . log ( images );
3030} catch (error ) {
3131 console .log (error )
3232}
@@ -353,17 +353,22 @@ try {
353353 <div class =" step-text" ><span class =" step" >Step 2) </span >Submit it as a pull request to the <a href =" /gallery" >art gallery</a >.</div >
354354 <div class =" step-2-css" >
355355 {
356- images .filter (x => [" leaf" , " tree" , " square-disarray" ].some (x => x .includes (x .dir ))).map (img => {
357- return (
358- <div class = " frame" >
359- <a
360- class = " border"
361- href = { img .href } >
362- <img class = " thumbnail" alt = { img .alt } src = { img .img } />
363- </a >
364- </div >
356+ images
357+ .filter (img =>
358+ [" leaf" , " tree" , " square-disarray" ]
359+ .some (x => img .dir .includes (x ))
365360 )
366- })
361+ .map (img => {
362+ return (
363+ <div class = " frame" >
364+ <a
365+ class = " border"
366+ href = { img .href } >
367+ <img class = " thumbnail" alt = { img .alt } src = { img .img } />
368+ </a >
369+ </div >
370+ )
371+ })
367372 }
368373 </div >
369374 </div >
You can’t perform that action at this time.
0 commit comments