From e2493547efc4b0e9346eade270330f4ca808f2c2 Mon Sep 17 00:00:00 2001 From: Pascal Schmid Date: Thu, 10 Oct 2024 22:51:12 +0200 Subject: [PATCH] Remove superfluous socket assign --- lib/mihainator_web/live/upload_live.ex | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/mihainator_web/live/upload_live.ex b/lib/mihainator_web/live/upload_live.ex index dd4aea4..035d0a7 100644 --- a/lib/mihainator_web/live/upload_live.ex +++ b/lib/mihainator_web/live/upload_live.ex @@ -5,7 +5,6 @@ defmodule MihainatorWeb.UploadLive do def mount(_params, _session, socket) do {:ok, socket - |> assign(:uploaded_files, []) |> assign(:submit_disabled?, true) |> allow_upload(:history, accept: ~w(.csv))} end