This commit is contained in:
DutchEllie 2022-03-15 16:47:49 +01:00
parent 330385a357
commit bc38196fd3
Signed by: DutchEllie
SSH Key Fingerprint: SHA256:dKq6ZSgN5E3Viqrw/+xAdf2VdR6hdRGNyrYqXXwfjTY
1 changed files with 1 additions and 0 deletions

View File

@ -31,6 +31,7 @@ type guestbook struct {
) // 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) {
g.LoadComments(ctx)
}