[REFACTOR] minor

parent 209b3950
......@@ -7,6 +7,7 @@ import Prelude hiding (div)
import React.DOM (h3, text)
import Thermite (Render, Spec, defaultPerformAction, simpleSpec)
-- NP: TODO the state should be only the one required by sourceSpec not sourcespec'
type State = D.State
......@@ -24,4 +25,4 @@ sourceSpec = simpleSpec defaultPerformAction render
[ h3 [] [text "Source view"]]
sourcespec' :: Spec State {} Action
sourcespec' = fold [sourceSpec, D.layoutDocview]
sourcespec' = sourceSpec <> D.layoutDocview
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