diff --git a/lib/ash_admin/components/top_nav.ex b/lib/ash_admin/components/top_nav.ex
index 534ae16..3be273c 100644
--- a/lib/ash_admin/components/top_nav.ex
+++ b/lib/ash_admin/components/top_nav.ex
@@ -103,12 +103,12 @@ defmodule AshAdmin.Components.TopNav do
- <.live_component
+
- {link.text}
+ <%= link.text %>
@@ -54,6 +54,10 @@ defmodule AshAdmin.Components.TopNav.DrawerDropdown do
"""
end
+ def mount(socket) do
+ {:ok, assign(socket, :open, false)}
+ end
+
def handle_event("toggle", _, socket) do
{:noreply, assign(socket, :open, !socket.assigns.open)}
end