Skip to content

Commit 7f79efe

Browse files
committed
Add key prop
1 parent 217c41c commit 7f79efe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/ColorPaletteReference.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export function ColorPaletteReference({ colors }) {
2121
: Object.keys(value).map((name) => ({ name, value: value[name] }))
2222

2323
return (
24-
<div className="2xl:contents">
24+
<div key={title} className="2xl:contents">
2525
<div className="text-sm font-semibold text-slate-900 dark:text-slate-200 2xl:col-end-1 2xl:pt-2.5">
2626
{title
2727
.split('')

0 commit comments

Comments
 (0)