Skip to content

Commit 64e348a

Browse files
committed
chore: add missing key to example
1 parent 040395f commit 64e348a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/dialog/examples/change-styles.example.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@ export const Example = () => {
2323
{transitions.map(
2424
({ item, props: styles }) =>
2525
item && (
26-
<AnimatedDialogOverlay style={{ opacity: styles.opacity }}>
26+
<AnimatedDialogOverlay
27+
key={item}
28+
style={{ opacity: styles.opacity }}
29+
>
2730
<AnimatedDialogContent
2831
aria-labelledby="dialog-title"
2932
style={{

0 commit comments

Comments
 (0)