diff --git a/examples/web-compose-bird/build.gradle.kts b/examples/web-compose-bird/build.gradle.kts index bb9e9e8097..a961b61550 100644 --- a/examples/web-compose-bird/build.gradle.kts +++ b/examples/web-compose-bird/build.gradle.kts @@ -1,8 +1,8 @@ import org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootExtension plugins { - kotlin("multiplatform") version "1.5.21" - id("org.jetbrains.compose") version "1.0.0-alpha1" + kotlin("multiplatform") version "1.5.31" + id("org.jetbrains.compose") version "0.0.0-master-build413" } group = "com.theapache64.composebird" version = "1.0.0-alpha01" @@ -33,5 +33,6 @@ kotlin { afterEvaluate { rootProject.extensions.configure { versions.webpackDevServer.version = "4.0.0" + versions.webpackCli.version = "4.9.0" } } diff --git a/examples/web-compose-bird/src/jsMain/kotlin/main.kt b/examples/web-compose-bird/src/jsMain/kotlin/main.kt index 5525fc84c5..55a228407f 100644 --- a/examples/web-compose-bird/src/jsMain/kotlin/main.kt +++ b/examples/web-compose-bird/src/jsMain/kotlin/main.kt @@ -8,7 +8,6 @@ import kotlinx.browser.document import kotlinx.browser.window import kotlinx.coroutines.delay import org.jetbrains.compose.web.attributes.InputType -import org.jetbrains.compose.web.attributes.checked import org.jetbrains.compose.web.attributes.disabled import org.jetbrains.compose.web.css.marginTop import org.jetbrains.compose.web.css.px @@ -18,7 +17,6 @@ import org.w3c.dom.HTMLElement import org.w3c.dom.events.KeyboardEvent import org.w3c.dom.get - fun main() { val game: Game = ComposeBirdGame() @@ -82,7 +80,7 @@ fun main() { if (isTube || isBird) { // if it's either a tube node or bird, check it - checked() + checked(true) } if (!isBird) {