fix(mod): add keys to categories list
This commit is contained in:
parent
3f237ab2af
commit
615b39a8d8
@ -553,6 +553,7 @@ const Body = ({
|
|||||||
return (
|
return (
|
||||||
<ReactRouterLink
|
<ReactRouterLink
|
||||||
className='IBMSMSMBSSCategoriesBoxItem'
|
className='IBMSMSMBSSCategoriesBoxItem'
|
||||||
|
key={`category-${i}`}
|
||||||
target='_blank'
|
target='_blank'
|
||||||
to={{
|
to={{
|
||||||
pathname: getGamePageRoute(game),
|
pathname: getGamePageRoute(game),
|
||||||
@ -563,9 +564,12 @@ const Body = ({
|
|||||||
</ReactRouterLink>
|
</ReactRouterLink>
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
.reduce((prev, curr) => [
|
.reduce((prev, curr, i) => [
|
||||||
prev,
|
prev,
|
||||||
<div className='IBMSMSMBSSCategoriesBoxSeparator'>
|
<div
|
||||||
|
key={`separator-${i}`}
|
||||||
|
className='IBMSMSMBSSCategoriesBoxSeparator'
|
||||||
|
>
|
||||||
<p>></p>
|
<p>></p>
|
||||||
</div>,
|
</div>,
|
||||||
curr
|
curr
|
||||||
|
Loading…
x
Reference in New Issue
Block a user