Skip to content

Commit

Permalink
remove disconnected_alert attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
woylie committed Nov 25, 2023
1 parent 2ba27ba commit faa68cb
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions lib/doggo.ex
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,6 @@ defmodule Doggo do
<.flash_group flash={@flash} />
"""
attr :flash, :map, required: true, doc: "The map of flash messages."

attr :disconnected_alert, :boolean,
default: false,
doc: """
If `true`, the component renders an alert when the client is disconnected
and trying to reconnect.
"""

attr :info_title, :string, default: "Success"
attr :error_title, :string, default: "Error"
attr :id, :string, default: nil, doc: "An optional ID for the container."
Expand All @@ -52,7 +44,6 @@ defmodule Doggo do
<%= msg %>
</.alert>
<.alert
:if={@disconnected_alert}
id="client-error"
level={:error}
title="Disconnected"
Expand Down

0 comments on commit faa68cb

Please sign in to comment.