diff --git a/src/GraphVisJs/Graph.js b/src/GraphVisJs/Graph.js
index cbe50510fdf8fa14889544d48281d90a5c234e24..43c4e77c33b423cb54d95a2d5fefbd15e1127340 100644
--- a/src/GraphVisJs/Graph.js
+++ b/src/GraphVisJs/Graph.js
@@ -20,7 +20,7 @@ export class Graph extends React.Component {
     };
     var options = parseData.options;
     options.nodes = { font: { color : "white"}};
-    var network = new vis.Network(this.ref.current, data, options);
+    new vis.Network(this.ref.current, data, options);
   }
 
   componentDidMount() {