Skip to content

Commit

Permalink
Fix mistake appending to list
Browse files Browse the repository at this point in the history
  • Loading branch information
cibernox committed Nov 28, 2024
1 parent 6596509 commit 63787ef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ require Logger
classes
|> String.split(" ", trim: true)
|> Enum.reject(fn s -> String.starts_with?(s, "opacity-") end)
Enum.join(other_classes ++ "opacity-#{opacity}", " ")
Enum.join(other_classes ++ ["opacity-#{opacity}"], " ")
end

defp assign_form(socket, value) do
Expand Down

0 comments on commit 63787ef

Please sign in to comment.