Unverified Commit 49c2ce3a authored by Mael NICOLAS's avatar Mael NICOLAS Committed by Nicolas Pouillard

[HELP]

Resolved the compilation error but myGoto() doesn't seem to be loaded
parent b889ed13
...@@ -41,7 +41,7 @@ exports.forceLinkClass = FL.default; ...@@ -41,7 +41,7 @@ exports.forceLinkClass = FL.default;
} }
const myGoto = function(sigma){ const myGoto = function(sigma){
alert("My goto ffi"); console.log("My goto ffi");
}; };
exports.myGoto = myGoto; exports.myGoto = myGoto;
...@@ -3,7 +3,6 @@ module Gargantext.Components.GraphExplorer.Sigmajs where ...@@ -3,7 +3,6 @@ module Gargantext.Components.GraphExplorer.Sigmajs where
import Prelude import Prelude
import Data.Nullable (Nullable) import Data.Nullable (Nullable)
import Data.Unit (Unit)
import Effect (Effect) import Effect (Effect)
import React (Children, ReactClass, ReactElement, ReactRef, createElement, unsafeCreateElement) import React (Children, ReactClass, ReactElement, ReactRef, createElement, unsafeCreateElement)
import React.DOM.Props (Props) import React.DOM.Props (Props)
...@@ -252,7 +251,7 @@ type SigmaProps = ...@@ -252,7 +251,7 @@ type SigmaProps =
, settings :: SigmaSettings , settings :: SigmaSettings
, style :: SigmaStyle , style :: SigmaStyle
, graph :: SigmaGraphData , graph :: SigmaGraphData
, ref :: (Nullable ReactRef -> Effect Unit) -> Props , ref :: Nullable ReactRef -> Effect Unit
, onClickNode :: SigmaNodeEvent -> Unit , onClickNode :: SigmaNodeEvent -> Unit
, onOverNode :: SigmaNodeEvent -> Unit , onOverNode :: SigmaNodeEvent -> Unit
, onOutNode :: SigmaNodeEvent -> Effect Unit , onOutNode :: SigmaNodeEvent -> Effect Unit
...@@ -286,9 +285,6 @@ edgeShape = ...@@ -286,9 +285,6 @@ edgeShape =
, tapered : EdgeShape "tapered" , tapered : EdgeShape "tapered"
} }
newtype NodeShape = NodeShape String newtype NodeShape = NodeShape String
nodeShape :: { def :: NodeShape nodeShape :: { def :: NodeShape
......
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