aboutsummaryrefslogtreecommitdiff
path: root/kvision-modules/kvision-react/src
diff options
context:
space:
mode:
Diffstat (limited to 'kvision-modules/kvision-react/src')
-rw-r--r--kvision-modules/kvision-react/src/test/kotlin/test/pl/treksoft/kvision/react/ReactSpec.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/kvision-modules/kvision-react/src/test/kotlin/test/pl/treksoft/kvision/react/ReactSpec.kt b/kvision-modules/kvision-react/src/test/kotlin/test/pl/treksoft/kvision/react/ReactSpec.kt
index ccabc721..97000ad2 100644
--- a/kvision-modules/kvision-react/src/test/kotlin/test/pl/treksoft/kvision/react/ReactSpec.kt
+++ b/kvision-modules/kvision-react/src/test/kotlin/test/pl/treksoft/kvision/react/ReactSpec.kt
@@ -23,6 +23,7 @@ package test.pl.treksoft.kvision.react
import kotlinx.html.js.onChangeFunction
import org.w3c.dom.HTMLInputElement
+import pl.treksoft.kvision.panel.ContainerType
import pl.treksoft.kvision.panel.Root
import pl.treksoft.kvision.react.react
import react.dom.input
@@ -35,7 +36,7 @@ class ReactSpec : DomSpec {
@Test
fun react() {
run {
- val root = Root("test", containerType = pl.treksoft.kvision.panel.ContainerType.FIXED)
+ val root = Root("test", containerType = ContainerType.FIXED)
val react = root.react("initial") { getState, changeState ->
input {
attrs {