File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
src/pages/Play/components Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -19,13 +19,12 @@ export default function ValidTiles(props: ValidTilesProps) {
1919 } }
2020 >
2121 { keys . map ( ( key ) => (
22- < >
22+ < div key = { key } >
2323 < p
2424 style = { {
2525 fontSize : "1.3rem" ,
2626 fontWeight : "500" ,
2727 } }
28- key = { key }
2928 >
3029 { key } { " " }
3130 </ p >
@@ -34,10 +33,9 @@ export default function ValidTiles(props: ValidTilesProps) {
3433 display : "flex" ,
3534 listStyleType : "none" ,
3635 } }
37- key = { key }
3836 >
3937 { shortenedInfo . get ( key ) ?. map ( ( hai ) => (
40- < li key = { String ( hai ) } >
38+ < li key = { ` ${ hai . kind } - ${ hai . value } ` } >
4139 < img
4240 src = { `/hai/${ hai . kind } _${ hai . value } .png` }
4341 alt = { `${ hai . kind } ${ hai . value } ` }
@@ -47,7 +45,7 @@ export default function ValidTiles(props: ValidTilesProps) {
4745 </ li >
4846 ) ) }
4947 </ ul >
50- </ >
48+ </ div >
5149 ) ) }
5250 </ div >
5351 ) ;
You can’t perform that action at this time.
0 commit comments