We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78ba82c commit 18a3e57Copy full SHA for 18a3e57
src/js/FlagBlock.js
@@ -64,9 +64,10 @@ const FlagBlock = (props: FlagBlockPropsType): Node => {
64
randomFlips[i] ? { flip: randomFlips[i] } : {},
65
randomRotates[i] ? { rotate: randomRotates[i] } : {}
66
);
67
+ const n = i;
68
69
return (
- <CustomFlag key={code} {...customFlagProps}>
70
+ <CustomFlag key={`${code}${n}`} {...customFlagProps}>
71
{renderCustomFlagChildren(i, props)}
72
</CustomFlag>
73
0 commit comments