Todo
This commit is contained in:
parent
330385a357
commit
bc38196fd3
@ -31,6 +31,7 @@ type guestbook struct {
|
|||||||
) // Handler to implement which calls the api
|
) // Handler to implement which calls the api
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: The comments are loaded like 2 or 3 times every time the page is loaded...
|
||||||
func (g *guestbook) OnMount(ctx app.Context) {
|
func (g *guestbook) OnMount(ctx app.Context) {
|
||||||
g.LoadComments(ctx)
|
g.LoadComments(ctx)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user