Disable client/server error flash messages

This commit is contained in:
Harshad Sharma 2024-05-19 08:50:45 +05:30
parent 2781748626
commit 5920177029

View file

@ -88,7 +88,7 @@ defmodule Liliform.Flash do
<div id={@id}>
<.flash kind={:info} title={gettext("Info")} flash={@flash} is-info />
<.flash kind={:error} title={gettext("Error")} flash={@flash} is-danger />
<.flash
<%!-- <.flash
id="client-error"
kind={:error}
title={gettext("We can't find the internet")}
@ -112,7 +112,7 @@ defmodule Liliform.Flash do
>
<%= gettext("Hang in there while we get back on track") %>
<Lucideicons.refresh_cw class="h-4 w-4 animate-spin is-inline-block" aria-hidden />
</.flash>
</.flash> --%>
</div>
"""
end