 
     updated_assigns =
       current_assigns
-      |> Enum.map(fn {k, v} -> {String.to_existing_atom(k), v} end)
+      |> Enum.into([])
       |> Keyword.merge(assigns)
 
     modules = {


  @spec assign_data_for_partial(Phoenix.Socket.t(), String.t() | atom, String.t() | atom) :: map | no_return
  defp assign_data_for_partial(socket, partial, partial_name) do
    case socket
         |> ampere_assigns()
         |> Map.fetch(partial) do
      {:ok, val} ->


    current_assigns = assign_data_for_partial(socket, partial, partial_name)

    current_assigns_keys = current_assigns |> Map.keys()
    assigns_to_update = Enum.into(assigns, %{})
    assigns_to_update_keys = Map.keys(assigns_to_update)

