diff options
author | Markus Wüstenberg | 2024-09-24 10:33:54 +0200 |
---|---|---|
committer | GitHub | 2024-09-24 10:33:54 +0200 |
commit | 04640fcce01becec93d63beb3ddb034842e51c15 (patch) | |
tree | aa78db592a47a9ab37fa9eabaec7f461dd51f23f /internal/examples/app/html/home.go | |
parent | fae592d35f474c31e0dd40b06f7721cb69a5d67c (diff) | |
download | gomponents-04640fcce01becec93d63beb3ddb034842e51c15.tar.lz gomponents-04640fcce01becec93d63beb3ddb034842e51c15.tar.zst gomponents-04640fcce01becec93d63beb3ddb034842e51c15.zip |
Use go workspace in example app (#211)
Diffstat (limited to 'internal/examples/app/html/home.go')
-rw-r--r-- | internal/examples/app/html/home.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/examples/app/html/home.go b/internal/examples/app/html/home.go index d4e192c..a3d729b 100644 --- a/internal/examples/app/html/home.go +++ b/internal/examples/app/html/home.go @@ -13,8 +13,8 @@ func HomePage(items []string) Node { P(Raw(`Have a look at the <a href="https://github.com/maragudk/gomponents/tree/main/internal/examples/app">source code</a> to see how it’s structured.`)), - Ul(Group(Map(items, func(s string) Node { + Ul(Map(items, func(s string) Node { return Li(Text(s)) - }))), + })), ) } |