╭ changed ────────╮ │src/main_wasm.zig│ ╰─────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────╮ │69 const should_push = if (last_pushed_page_maybe) |lp| !lp.eql(current_page) else true;│ │70 if (should_push) { │ │71 last_pushed_page_maybe = current_page; │ │72 - const url = try current_page.urlAlloc(&page_arena); │ │72 + const url = try current_page.toUrl(&page_arena); │ │73 _replaceState(url.ptr, @intCast(url.len)); │ │74 } │ │75 │ ╰─────────────────────────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────╮ │129 if (root_ptr.getFocus().grandchild_id) |gid| { │ │130 // follow a cross-page link │ │131 if (ui.crossPageLink(root_ptr.getFocus(), gid, session.data)) |route| {│ │132 - const url = try route.urlAlloc(&page_arena); │ │132 + const url = try route.toUrl(&page_arena); │ │133 _navigate(url.ptr, @intCast(url.len)); │ │134 return; │ │135 } │ ╰────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────╮ │143 const root_ptr = if (root) |*root_value| root_value else return error.NotStarted;│ │144 // follow a cross-page link │ │145 if (ui.crossPageLink(root_ptr.getFocus(), focus_id, session.data)) |route| { │ │146 - const url = try route.urlAlloc(&page_arena); │ │146 + const url = try route.toUrl(&page_arena); │ │147 _navigate(url.ptr, @intCast(url.len)); │ │148 return; │ │149 } │ ╰──────────────────────────────────────────────────────────────────────────────────────────╯