Skip to content

Commit

Permalink
hotfix: remove footer when current_account is not set
Browse files Browse the repository at this point in the history
  • Loading branch information
yujonglee committed Oct 27, 2024
1 parent 25334da commit 792bc7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/lib/canary_web/components/layouts/app.html.heex
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
</main>

<footer
:if={not @current_account.owner_email_confirmed}
:if={not is_nil(@current_account) and not @current_account.owner_email_confirmed}
class="bg-red-50 text-xs text-center py-2 font-semibold"
>
The owner of this account has not confirmed their email address.
Expand Down

0 comments on commit 792bc7f

Please sign in to comment.