Skip to content

Commit a2f58f5

Browse files
authored
Merge pull request #73 from DiamondLightSource/fix_react18_client_test_warnings
Add the key prop to the 'Error' component
2 parents ff71694 + c28b339 commit a2f58f5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ui/widgets/createComponent.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ export function widgetDescriptionToComponent(
6767
log.warn(message);
6868
log.warn(widgetDescription);
6969
return widgetDescriptionToComponent(
70-
errorWidget(message, widgetDescription["position"])
70+
errorWidget(message, widgetDescription["position"]),
71+
listIndex
7172
);
7273
}
7374

0 commit comments

Comments
 (0)