diff --git a/wasmApp/src/wasmJsMain/kotlin/com/mbakgun/mj/Main.kt b/wasmApp/src/wasmJsMain/kotlin/com/mbakgun/mj/Main.kt
index 80544f9..26f5f48 100644
--- a/wasmApp/src/wasmJsMain/kotlin/com/mbakgun/mj/Main.kt
+++ b/wasmApp/src/wasmJsMain/kotlin/com/mbakgun/mj/Main.kt
@@ -5,6 +5,7 @@ import androidx.compose.ui.window.CanvasBasedWindow
import di.initKoin
import domain.usecase.MjImagesFetchUseCase
import domain.usecase.MjImagesUseCase
+import kotlinx.browser.document
import ui.MjImagesApp
import ui.MjImagesViewModel
@@ -18,4 +19,5 @@ fun main() {
CanvasBasedWindow("MjImagesApp") {
MjImagesApp(viewModel)
}
+ document.getElementById("loader-container")?.remove()
}
diff --git a/wasmApp/src/wasmJsMain/resources/index.html b/wasmApp/src/wasmJsMain/resources/index.html
index 4d30a3d..13e474f 100644
--- a/wasmApp/src/wasmJsMain/resources/index.html
+++ b/wasmApp/src/wasmJsMain/resources/index.html
@@ -2,9 +2,54 @@
+
MjImagesApp
+
+
diff --git a/webApp/src/jsMain/kotlin/com/mbakgun/mj/Main.kt b/webApp/src/jsMain/kotlin/com/mbakgun/mj/Main.kt
index a3a370e..4627f46 100644
--- a/webApp/src/jsMain/kotlin/com/mbakgun/mj/Main.kt
+++ b/webApp/src/jsMain/kotlin/com/mbakgun/mj/Main.kt
@@ -5,6 +5,7 @@ import androidx.compose.ui.window.CanvasBasedWindow
import di.initKoin
import domain.usecase.MjImagesFetchUseCase
import domain.usecase.MjImagesUseCase
+import kotlinx.browser.document
import org.jetbrains.skiko.wasm.onWasmReady
import ui.MjImagesApp
import ui.MjImagesViewModel
@@ -20,5 +21,6 @@ fun main() {
CanvasBasedWindow("MjImagesApp") {
MjImagesApp(viewModel)
}
+ document.getElementById("loader-container")?.remove()
}
}
diff --git a/webApp/src/jsMain/resources/index.html b/webApp/src/jsMain/resources/index.html
index cc6e264..5af460a 100644
--- a/webApp/src/jsMain/resources/index.html
+++ b/webApp/src/jsMain/resources/index.html
@@ -2,10 +2,55 @@
+
MjImagesApp
+
+