MAINT: clean up unused; new deps (#45)

This commit is contained in:
Matthew Ryan Dillon 2020-11-21 14:57:03 -07:00 committed by GitHub
parent 7cbb884ef0
commit d57fdd0d0f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 24 additions and 120 deletions

View file

@ -229,7 +229,7 @@ defmodule PlannerWeb.TasksLive do
|> put_flash(:info, msg)
end
defp add_new_task(task_params, active_plan = nil, socket) do
defp add_new_task(task_params, _active_plan = nil, socket) do
case Tasks.create_task(task_params) do
{:ok, task} ->
{:noreply, refresh_tasks_and_flash_msg(socket, "task \"#{task.value}\" created")}