Remove unnecessary attr

This commit is contained in:
Chris McCord 2021-11-22 10:36:18 -05:00
parent a7c319c035
commit aec76630d1

View file

@ -50,7 +50,6 @@ defmodule LiveBeatsWeb.LiveHelpers do
id="flash" id="flash"
class="rounded-md bg-red-50 p-4 fixed top-1 right-1 w-96 fade-in-scale" class="rounded-md bg-red-50 p-4 fixed top-1 right-1 w-96 fade-in-scale"
phx-click={JS.push("lv:clear-flash") |> JS.remove_class("fade-in-scale", to: "#flash") |> hide("#flash")} phx-click={JS.push("lv:clear-flash") |> JS.remove_class("fade-in-scale", to: "#flash") |> hide("#flash")}
phx-value-key="error"
phx-hook="Flash" phx-hook="Flash"
> >
<div class="flex"> <div class="flex">