From 551c37d1008f963733f82512f4866aeea33bb01a Mon Sep 17 00:00:00 2001 From: Joffrey Bion Date: Wed, 25 Mar 2020 11:57:20 +0100 Subject: Rename Game to GameScene to reflect component name --- .../kotlin/org/luxons/sevenwonders/ui/components/game/Game.kt | 8 -------- .../org/luxons/sevenwonders/ui/components/game/GameScene.kt | 8 ++++++++ 2 files changed, 8 insertions(+), 8 deletions(-) delete mode 100644 sw-ui-kt/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/Game.kt create mode 100644 sw-ui-kt/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/GameScene.kt (limited to 'sw-ui-kt/src/main/kotlin/org') diff --git a/sw-ui-kt/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/Game.kt b/sw-ui-kt/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/Game.kt deleted file mode 100644 index 44136993..00000000 --- a/sw-ui-kt/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/Game.kt +++ /dev/null @@ -1,8 +0,0 @@ -package org.luxons.sevenwonders.ui.components.game - -import react.RBuilder -import react.dom.* - -fun RBuilder.gameScene(gameId: Long) = div { - h1 { +"Game $gameId" } -} diff --git a/sw-ui-kt/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/GameScene.kt b/sw-ui-kt/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/GameScene.kt new file mode 100644 index 00000000..44136993 --- /dev/null +++ b/sw-ui-kt/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/GameScene.kt @@ -0,0 +1,8 @@ +package org.luxons.sevenwonders.ui.components.game + +import react.RBuilder +import react.dom.* + +fun RBuilder.gameScene(gameId: Long) = div { + h1 { +"Game $gameId" } +} -- cgit