Cleanup
This commit is contained in:
27
src/js/dist/sandbox.nim
vendored
27
src/js/dist/sandbox.nim
vendored
@@ -1,18 +1,24 @@
|
||||
import jsconsole, jsffi, strutils, sequtils, sugar
|
||||
import sugar
|
||||
from std/dom import window, Location, document, decodeURI
|
||||
import std/[
|
||||
jsconsole,
|
||||
jsffi,
|
||||
options,
|
||||
sequtils,
|
||||
strformat,
|
||||
strutils,
|
||||
sugar,
|
||||
]
|
||||
import fp/[
|
||||
maybe,
|
||||
option,
|
||||
]
|
||||
import
|
||||
../bindings/react/react_globals,
|
||||
../bindings/react/react_dom,
|
||||
../bindings/react/react_types,
|
||||
../bindings/react/react_styles,
|
||||
../bindings/react/react_hooks
|
||||
import sequtils
|
||||
import options
|
||||
import strformat
|
||||
import fp/[
|
||||
maybe,
|
||||
option,
|
||||
]
|
||||
../bindings/react/react_hooks,
|
||||
../lib/fetch
|
||||
import ../../org/org_block_heading
|
||||
import ../../org/org_builder
|
||||
import ../../org/org_types
|
||||
@@ -31,7 +37,6 @@ proc renderItems(
|
||||
)
|
||||
|
||||
proc toMarkUp(x: OrgInlineBlock): ReactNode =
|
||||
console.log(x)
|
||||
case x.kind:
|
||||
of orgRawText: `<>`(x.content)
|
||||
of orgText: `<>`(x.content)
|
||||
|
||||
Reference in New Issue
Block a user