Skip to content

Commit 452aeeb

Browse files
committed
Change router to HashRouter (BrowserRouter not working on GitHub pages)
1 parent 7bf3613 commit 452aeeb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/jsMain/kotlin/Application.kt

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import app.softwork.routingcompose.BrowserRouter
2+
import app.softwork.routingcompose.HashRouter
23
import common.BaseStyles
34
import common.Theme
45
import common.ThemeProvider
@@ -66,7 +67,7 @@ fun main() {
6667
}
6768
}
6869
PageContent {
69-
BrowserRouter("/") {
70+
HashRouter("/") {
7071
route("/") {
7172
HomePage()
7273
}

0 commit comments

Comments
 (0)