@gisce/react-ooui 1.5.15 → 1.5.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -85,10 +85,10 @@ type GetGraphPropsType = {
|
|
|
85
85
|
|
|
86
86
|
function getGraphProps(props: GetGraphPropsType) {
|
|
87
87
|
const { type, data, isGroup, isStack } = props;
|
|
88
|
-
let graphProps = (GraphDefaults as any)[type];
|
|
88
|
+
let graphProps = { ...(GraphDefaults as any)[type] };
|
|
89
89
|
|
|
90
90
|
if (!graphProps) {
|
|
91
|
-
graphProps = (GraphDefaults as any)["default"];
|
|
91
|
+
graphProps = { ...(GraphDefaults as any)["default"] };
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
graphProps.data = data;
|