Skip to content

Commit

Permalink
Merge pull request #305 from pulibrary/275-flash
Browse files Browse the repository at this point in the history
Remove client-error flash
  • Loading branch information
tpendragon authored Feb 12, 2025
2 parents 0126995 + 22492d5 commit 4fa50f2
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions lib/dpul_collections_web/components/core_components.ex
Original file line number Diff line number Diff line change
Expand Up @@ -79,18 +79,6 @@ defmodule DpulCollectionsWeb.CoreComponents do
<div id={@id}>
<.flash kind={:info} title={gettext("Success!")} flash={@flash} />
<.flash kind={:error} title={gettext("Error!")} flash={@flash} />
<.flash
id="client-error"
kind={:error}
title={gettext("We can't find the internet")}
phx-disconnected={show(".phx-client-error #client-error")}
phx-connected={hide("#client-error")}
hidden
>
<%= gettext("Attempting to reconnect") %>
<.icon name="hero-arrow-path" class="ml-1 h-3 w-3 animate-spin" />
</.flash>
<.flash
id="server-error"
kind={:error}
Expand Down

0 comments on commit 4fa50f2

Please sign in to comment.