Commit 48be3238 authored by mzheng's avatar mzheng

remove tracing

parent 77b38698
Pipeline #5908 failed with stage
in 0 seconds
......@@ -31,8 +31,6 @@ import Reactix.DOM.HTML as H
import Record as Record
import Toestand as T
import Test.Debug (trace)
-------------------------------------------------------------------------
......@@ -337,7 +335,7 @@ layoutWithContextNgramsCpt = here.component "layoutWithContextNgrams" cpt where
(publicationDate $ Document doc)
]
, R2.fromMaybe (trace (fromMaybe "VIDE" doc.institutes) (doc.institutes)) \institutes ->
, R2.fromMaybe doc.institutes \institutes ->
H.div
{ className: "document-layout__institutes justify-content-space-between" }
......
export function trace(msg) {
return function(x) {
console.log(msg);
return x;
};
};
\ No newline at end of file
module Test.Debug where
import Prelude
foreign import trace :: forall a. String -> a -> a
\ No newline at end of file
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