fix: add missing user for view and fix test
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Simon 2025-09-29 16:59:35 +02:00
parent d10fcc3da1
commit 1d334c7da1
Signed by: simon
GPG key ID: 40E7A58C4AA1EDB2
2 changed files with 44 additions and 13 deletions

View file

@ -4,7 +4,7 @@ defmodule MvWeb.UserLive.Show do
@impl true
def render(assigns) do
~H"""
<Layouts.app flash={@flash}>
<Layouts.app flash={@flash} current_user={@current_user}>
<.header>
{gettext("User")} {@user.email}
<:subtitle>{gettext("This is a user record from your database.")}</:subtitle>