mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-05-21 02:42:07 -05:00
Fix React key warning
This commit is contained in:
parent
7f61cea3dc
commit
5c7eca32e5
|
|
@ -1,5 +1,6 @@
|
|||
import { Mode } from "@prisma/client";
|
||||
import clsx from "clsx";
|
||||
import React from "react";
|
||||
import {
|
||||
ActionFunction,
|
||||
Form,
|
||||
|
|
@ -290,7 +291,7 @@ export default function LFGMatchPage() {
|
|||
<div className="play-match__played-map-list">
|
||||
{data.mapList.map((stage) => {
|
||||
return (
|
||||
<>
|
||||
<React.Fragment key={`${stage.name}-${stage.mode}`}>
|
||||
<div
|
||||
className={clsx("play-match__checkmark", "left", {
|
||||
invisible: stage.winner !== 0,
|
||||
|
|
@ -312,7 +313,7 @@ export default function LFGMatchPage() {
|
|||
>
|
||||
<CheckmarkIcon />
|
||||
</div>
|
||||
</>
|
||||
</React.Fragment>
|
||||
);
|
||||
})}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user