Commit dec4588c authored by Alexandre Delanoë's avatar Alexandre Delanoë

[Editor] Preview by default

parent d9b13f79
...@@ -315,7 +315,7 @@ initControls code defaultCodeType = do ...@@ -315,7 +315,7 @@ initControls code defaultCodeType = do
codeOverlayElRef <- R.useRef null codeOverlayElRef <- R.useRef null
codeType <- R.useState' defaultCodeType codeType <- R.useState' defaultCodeType
error <- R.useState' Nothing error <- R.useState' Nothing
viewType <- R.useState' Both viewType <- R.useState' Preview
pure $ { pure $ {
codeElRef codeElRef
......
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