aboutsummaryrefslogtreecommitdiff
path: root/src/app/components/navbutton
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/components/navbutton')
-rw-r--r--src/app/components/navbutton/root.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app/components/navbutton/root.zig b/src/app/components/navbutton/root.zig
index 2f26116..a512d1d 100644
--- a/src/app/components/navbutton/root.zig
+++ b/src/app/components/navbutton/root.zig
@@ -6,12 +6,12 @@ const Promise = zilch.Promise;
const Self = @This();
-pub const component: zilch.Component = .{
+pub const component: zilch.Component = .build(.{
.name = "navbutton",
.html = .parse(@embedFile("index.html")),
.css = @embedFile("index.css"),
.link = @This(),
-};
+});
element: *zilch.Object,
shadow_root: *zilch.Object,