╭ changed ──────╮ │src/ui/Home.zig│ ╰───────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────╮ │57 │ │58 // build the header first so we can grab the users-tab focus id and │ │59 // hand it to login/logout │ │60 - var users_tab_id: usize = undefined; │ │60 { │ │61 var header_view = try Header.View.init(allocator, &data.header, session);│ │62 errdefer header_view.deinit(allocator); │ ╰─────────────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │64 - users_tab_id = header_view.tab_ids.keys()[0]; │ │63 try box.children.put(allocator, header_view.getFocus().id, .{ .widget = .{ .home_header = header_view }, .rect = null, .min_size = null });│ │64 } │ │65 │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │86 } │ │87 │ │88 { │ │91 - var auth_view = try Auth.View.init(allocator, &data.auth, session, users_tab_id); │ │89 + var auth_view = try Auth.View.init(allocator, &data.auth, session); │ │90 errdefer auth_view.deinit(allocator); │ │91 try stack.children.put(allocator, auth_view.getFocus().id, .{ .home_auth = auth_view });│ │92 } │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────╯