datajunction-ui 0.0.1-a43.dev0 → 0.0.1-a44
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
|
@@ -149,15 +149,13 @@ export function CubeBuilderPage() {
|
|
|
149
149
|
useEffect(() => {
|
|
150
150
|
const fetchData = async () => {
|
|
151
151
|
if (name) {
|
|
152
|
-
const node = await djClient.node(name);
|
|
153
152
|
const cube = await djClient.cube(name);
|
|
154
|
-
cube.tags = node.tags;
|
|
155
|
-
setNode(cube);
|
|
156
153
|
updateFieldsWithNodeData(cube, setFieldValue);
|
|
154
|
+
setNode(cube);
|
|
157
155
|
}
|
|
158
156
|
};
|
|
159
157
|
fetchData().catch(console.error);
|
|
160
|
-
}, [
|
|
158
|
+
}, [setFieldValue]);
|
|
161
159
|
|
|
162
160
|
return (
|
|
163
161
|
<Form>
|