From b8cef99dc1e028b2a1393ade13a9de973afcb9ac Mon Sep 17 00:00:00 2001 From: David Sehnal <david.sehnal@gmail.com> Date: Tue, 3 Mar 2020 23:04:56 +0100 Subject: [PATCH] ParameterControls fix --- src/mol-plugin-ui/controls/parameters.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mol-plugin-ui/controls/parameters.tsx b/src/mol-plugin-ui/controls/parameters.tsx index bb145adaa..4501a36c2 100644 --- a/src/mol-plugin-ui/controls/parameters.tsx +++ b/src/mol-plugin-ui/controls/parameters.tsx @@ -55,7 +55,7 @@ export class ParameterControls<P extends PD.Params> extends React.PureComponent< if (!ctrls) return null; if (category) { - return [<ExpandGroup header={category}>{ctrls}</ExpandGroup>]; + return [<ExpandGroup key={category} header={category}>{ctrls}</ExpandGroup>]; } return ctrls; } -- GitLab