From 7b891b0023f40063ff69977da1aeba1268bc41b7 Mon Sep 17 00:00:00 2001 From: Gleb Nazarov Date: Sun, 15 Dec 2024 09:48:55 +0500 Subject: [PATCH] optimise imports in frontend --- fullstack-mpp/src/frontendMain/kotlin/FrontendCode.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/fullstack-mpp/src/frontendMain/kotlin/FrontendCode.kt b/fullstack-mpp/src/frontendMain/kotlin/FrontendCode.kt index 0b4d1d95..55112f48 100644 --- a/fullstack-mpp/src/frontendMain/kotlin/FrontendCode.kt +++ b/fullstack-mpp/src/frontendMain/kotlin/FrontendCode.kt @@ -1,13 +1,11 @@ package io.ktor.samples.fullstack.frontend import io.ktor.client.* -import io.ktor.client.call.body import io.ktor.client.engine.js.* import io.ktor.client.request.* import io.ktor.http.* import io.ktor.samples.fullstack.common.* -import kotlinx.browser.document -import kotlinx.browser.window +import kotlinx.browser.* import kotlinx.coroutines.* private val client = HttpClient(Js)