pl-fe: add missing key prop

Signed-off-by: mkljczk <git@mkljczk.pl>
This commit is contained in:
mkljczk
2024-12-27 20:11:51 +01:00
parent 2a35974154
commit 8fcd728591

View File

@ -53,7 +53,7 @@ const Palette: React.FC<IPalette> = ({ palette, onChange, resetKey, allowTintCha
<Stack className='w-full'>
<HStack className='h-8 overflow-hidden rounded-md'>
{tints.map(tint => (
<Color color={palette[tint]} onChange={allowTintChange ? handleChange(tint) : undefined} />
<Color key={tint} color={palette[tint]} onChange={allowTintChange ? handleChange(tint) : undefined} />
))}
</HStack>