Commit 2794eb90 authored by Przemyslaw Kaminski's avatar Przemyslaw Kaminski

[Graph] remove the dummy counter

It's not needed now for testing the flickering.
parent 2bb24278
......@@ -69,7 +69,6 @@ explorerCpt = R.hooksComponent "G.C.GraphExplorer.explorer" cpt
graphRef <- R.useRef null
controls <- Controls.useGraphControls
state <- useExplorerState
x /\ setX <- R.useState' 0
showLogin <- snd <$> R.useState' true
pure $
RH.div
......@@ -82,9 +81,7 @@ explorerCpt = R.hooksComponent "G.C.GraphExplorer.explorer" cpt
, col [ Toggle.controlsToggleButton controls.showControls ]
, col [ pullRight [ Toggle.sidebarToggleButton controls.showSidePanel ] ]
]
, row [ Controls.controls controls
, RH.div {on: {click: \e -> setX $ \x_ -> x_ + 1}} [ RH.text ("Counter: " <> (show x)) ]
]
, row [ Controls.controls controls ]
, row [ tree {mCurrentRoute, treeId} controls showLogin
, RH.div { ref: graphRef, id: "graph-view", className: "col-md-12", style: {height: "95%"} } [] -- graph container
, mGraph graphRef controls.sigmaRef {graphId, graph}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment