add liveview helpers

This commit is contained in:
2021-09-02 23:32:53 -04:00
committed by oliviasculley
parent 81a250206e
commit 66cc11e9eb
8 changed files with 71 additions and 8 deletions

View File

@ -1,5 +1,5 @@
<main role="main" class="container min-w-full min-h-full">
<%= live_component LokalWeb.Live.Component.Topbar %>
<%= live_component LokalWeb.Live.Component.Topbar, current_user: assigns[:current_user] %>
<%= @inner_content %>
</main>