aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/DataVizBox
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2023-12-21 14:56:03 -0500
committerbobzel <zzzman@gmail.com>2023-12-21 14:56:03 -0500
commit6693adb16545cc932fe9d244a15c658288adadc7 (patch)
tree952b10edff955579da90a096532bd6a45defa400 /src/client/views/nodes/DataVizBox
parent1caba64ee0f32ee8af79263cd4ef2a8bc5d5146e (diff)
fixes post-merge for dataViz-annotations
Diffstat (limited to 'src/client/views/nodes/DataVizBox')
-rw-r--r--src/client/views/nodes/DataVizBox/SchemaCSVPopUp.tsx5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/client/views/nodes/DataVizBox/SchemaCSVPopUp.tsx b/src/client/views/nodes/DataVizBox/SchemaCSVPopUp.tsx
index a015172a4..3cb5125da 100644
--- a/src/client/views/nodes/DataVizBox/SchemaCSVPopUp.tsx
+++ b/src/client/views/nodes/DataVizBox/SchemaCSVPopUp.tsx
@@ -1,6 +1,6 @@
-import React = require('react');
+import * as React from 'react';
import './SchemaCSVPopUp.scss';
-import { action, observable } from 'mobx';
+import { action, makeObservable, observable } from 'mobx';
import { observer } from 'mobx-react';
import { Doc } from '../../../../fields/Doc';
import { Button, IconButton, Type } from 'browndash-components';
@@ -47,6 +47,7 @@ export class SchemaCSVPopUp extends React.Component<SchemaCSVPopUpProps> {
constructor(props: SchemaCSVPopUpProps) {
super(props);
+ makeObservable(this);
SchemaCSVPopUp.Instance = this;
}