not implemented on Navigation traverseTo

This commit is contained in:
Muki Kiboigo
2025-10-21 19:26:41 -07:00
parent b40e7ece91
commit d7d2f84794

View File

@@ -267,8 +267,8 @@ pub const TraverseToOptions = struct {
info: ?js.Object = null,
};
pub fn _traverseTo(self: *Navigation, key: []const u8, _: ?TraverseToOptions, page: *Page) !NavigationReturn {
// const opts = _opts orelse TraverseToOptions{};
pub fn _traverseTo(self: *Navigation, key: []const u8, _opts: ?TraverseToOptions, page: *Page) !NavigationReturn {
log.debug(.browser, "not implemented", .{ .options = _opts });
for (self.entries.items, 0..) |entry, i| {
if (std.mem.eql(u8, key, entry.key)) {