Skip to content

Commit 701a787

Browse files
author
Piotr Gulbinowicz
committed
fix pathing
1 parent 8216888 commit 701a787

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pwa/flush/components.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ func (b *RootContainer) Render() app.UI {
107107
b.FlushList,
108108
app.Div().Body(
109109
b.buttonUpdate.Render(),
110-
&LinkButton{Text: "(+)", Location: "/new", AdditionalCss: "absolute bottom-4 right-4"},
110+
&LinkButton{Text: "(+)", Location: "new", AdditionalCss: "absolute bottom-4 right-4"},
111111
).Class("m-10"),
112112
).Class("invisible fixed").ID("root-container"),
113113
&AboutContainer{},
@@ -416,7 +416,7 @@ func (a *AboutContainer) Render() app.UI {
416416
app.P().Text("App is still under development. New features can be added."),
417417
app.P().Text("App can be 'installed' - it will appear on computer's program list or on phone home screen."),
418418
app.Br(),
419-
&LinkButton{Text: "Login/Register", Location: "/login"},
419+
&LinkButton{Text: "Login/Register", Location: "login"},
420420
).ID("about-container").Class("flex flex-col p-4 shadow-lg rounded-lg"),
421421
).Class(CenteringDivCss)
422422
}

0 commit comments

Comments
 (0)