diff options
Diffstat (limited to 'src/app/components')
| -rw-r--r-- | src/app/components/hello/root.zig | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/app/components/hello/root.zig b/src/app/components/hello/root.zig index 55bf2e6..c4a7732 100644 --- a/src/app/components/hello/root.zig +++ b/src/app/components/hello/root.zig @@ -5,11 +5,7 @@ const Self = @This(); pub const component: z.Component = .{ .name = "hello", - .html = .native( - .div, - .{ .onclick = "@clicked" }, - .content("click me"), - ), + .html = .node("div", .{ .onclick = "@clicked" }, &.{.text("click me")}), .css = @embedFile("index.css"), .link = @This(), }; |