We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9991391 commit 4e9d93cCopy full SHA for 4e9d93c
d3-graph/src/App.js
@@ -15,7 +15,7 @@ client.config.configureEditorPanel([
15
const width = 600;
16
const height = 600;
17
function renderGraph(data, ref) {
18
- if (!ref.current) return null;
+ if (!ref.current) return 'null';
19
d3.selectAll('svg > *').remove();
20
const links = data.links.map(d => Object.create(d));
21
const nodes = data.nodes.map(d => Object.create(d));
0 commit comments