From 5920177029e630cb0b5679afc5a1dde376c1b903 Mon Sep 17 00:00:00 2001 From: Harshad Sharma Date: Sun, 19 May 2024 08:50:45 +0530 Subject: [PATCH] Disable client/server error flash messages --- lib/liliform/flash.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/liliform/flash.ex b/lib/liliform/flash.ex index ba5928c..499f501 100644 --- a/lib/liliform/flash.ex +++ b/lib/liliform/flash.ex @@ -88,7 +88,7 @@ defmodule Liliform.Flash do
<.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") %> - + --%>
""" end