diff options
Diffstat (limited to 'src/app/components/icons/root.zig')
| -rw-r--r-- | src/app/components/icons/root.zig | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/app/components/icons/root.zig b/src/app/components/icons/root.zig index 298cfa6..6f7ab4a 100644 --- a/src/app/components/icons/root.zig +++ b/src/app/components/icons/root.zig @@ -6,16 +6,12 @@ pub const icons: []const zs.Component = &.{ icon("settings"), }; -const Icon = struct { - pub fn init(_: *@This(), _: *zs.Object) void {} -}; - pub fn icon(name: []const u8) zs.Component { return .{ .namespace = "icon", .name = name, .html = .parse(@embedFile(name ++ ".svg")), .css = @embedFile("index.css"), - .link = Icon, + .link = struct {}, }; } |