Skip to content

Commit f962f38

Browse files
author
Teddy Sterne
committed
Remove react warning
1 parent 52d3262 commit f962f38

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/pages/game/components/TokenRow.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,15 @@ export const TokenRow: FC<Props> = (props) => {
3939
{tokens.map((f, index) =>
4040
index === revealedIndex ? (
4141
<Fate
42+
key={index}
4243
num={f}
4344
styles={{
4445
margin: 2,
4546
transform: "scale(0.65)",
4647
}}
4748
/>
4849
) : (
49-
<Tile />
50+
<Tile key={index} />
5051
),
5152
)}
5253
</FateRow>

0 commit comments

Comments
 (0)