abinazebinoy commited on
Commit
4d11956
·
1 Parent(s): 19b580c

fix(JS-2): remove duplicate GraphRenderer._currentSimulation assignment in graph.js

Browse files
Files changed (1) hide show
  1. frontend/js/graph.js +0 -1
frontend/js/graph.js CHANGED
@@ -202,7 +202,6 @@ const GraphRenderer = {
202
  GraphRenderer._currentSimulation = simulation;
203
  // L-06 FIX: store simulation ref so tab-switch can call .stop()
204
  // D3 force runs in background consuming CPU when graph tab is hidden
205
- GraphRenderer._currentSimulation = simulation;
206
  return simulation;
207
  },
208
 
 
202
  GraphRenderer._currentSimulation = simulation;
203
  // L-06 FIX: store simulation ref so tab-switch can call .stop()
204
  // D3 force runs in background consuming CPU when graph tab is hidden
 
205
  return simulation;
206
  },
207