aboutsummaryrefslogtreecommitdiff
path: root/src/app/components/hello/root.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/components/hello/root.zig')
-rw-r--r--src/app/components/hello/root.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/components/hello/root.zig b/src/app/components/hello/root.zig
index c4a7732..761f46b 100644
--- a/src/app/components/hello/root.zig
+++ b/src/app/components/hello/root.zig
@@ -5,7 +5,7 @@ const Self = @This();
pub const component: z.Component = .{
.name = "hello",
- .html = .node("div", .{ .onclick = "@clicked" }, &.{.text("click me")}),
+ .html = .parse(@embedFile("index.html")),
.css = @embedFile("index.css"),
.link = @This(),
};