From 1e7edef82bd4b438049c8fa40d8481e91be55408 Mon Sep 17 00:00:00 2001 From: Joffrey Bion Date: Fri, 22 May 2020 14:59:59 +0200 Subject: Replace error message with non-ideal-state --- .../luxons/sevenwonders/ui/components/game/GameScene.kt | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'sw-ui/src/main/kotlin/org') diff --git a/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/GameScene.kt b/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/GameScene.kt index 89b28934..28ebbe74 100644 --- a/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/GameScene.kt +++ b/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/GameScene.kt @@ -1,9 +1,6 @@ package org.luxons.sevenwonders.ui.components.game -import com.palantir.blueprintjs.Intent -import com.palantir.blueprintjs.bpButton -import com.palantir.blueprintjs.bpButtonGroup -import com.palantir.blueprintjs.bpOverlay +import com.palantir.blueprintjs.* import kotlinx.css.* import kotlinx.css.properties.* import kotlinx.html.DIV @@ -19,12 +16,7 @@ import org.luxons.sevenwonders.ui.redux.RequestPrepareMove import org.luxons.sevenwonders.ui.redux.RequestSayReady import org.luxons.sevenwonders.ui.redux.RequestUnprepareMove import org.luxons.sevenwonders.ui.redux.connectStateAndDispatch -import react.RBuilder -import react.RClass -import react.RComponent -import react.RProps -import react.RState -import react.ReactElement +import react.* import react.dom.* import styled.StyledDOMBuilder import styled.css @@ -58,7 +50,7 @@ private class GameScene(props: GameSceneProps) : RComponent