aboutsummaryrefslogtreecommitdiff
path: root/src/app
diff options
context:
space:
mode:
Diffstat (limited to 'src/app')
-rw-r--r--src/app/components/navbutton/root.zig1
-rw-r--r--src/app/root.zig1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/app/components/navbutton/root.zig b/src/app/components/navbutton/root.zig
index 3505840..f2b71e6 100644
--- a/src/app/components/navbutton/root.zig
+++ b/src/app/components/navbutton/root.zig
@@ -1,4 +1,5 @@
const std = @import("std");
+const app = @import("root").app;
const zilch = @import("zilch");
const Self = @This();
diff --git a/src/app/root.zig b/src/app/root.zig
index d172b23..25865d2 100644
--- a/src/app/root.zig
+++ b/src/app/root.zig
@@ -11,6 +11,7 @@ const components = @import("components/root.zig").components;
pub const app: zilch.App(.{
.name = "Memora",
+ .functions = &zilch.Object.functions,
.globals = &.{
zilch.Object.global(.window),
zilch.Object.global(.Object),