Browse Source

chore: clean up

main
Inhji Y. 7 months ago
parent
commit
daa29c1e43
  1. 1
      lib/mirage/tags.ex
  2. 2
      lib/mirage_web/live/note_live/show.ex
  3. 1
      test/mirage/lists_test.exs

1
lib/mirage/tags.ex

@ -57,7 +57,6 @@ defmodule Mirage.Tags do
def update_tags(schema, new_tags) when is_binary(new_tags) do
Logger.info("Updating tags")
Logger.info("Tags: #{inspect(new_tags)}")
Logger.info("Schema: #{inspect(schema)}")
old_tags = tags_loaded(schema) |> split_tags()
new_tags = new_tags |> split_tags()

2
lib/mirage_web/live/note_live/show.ex

@ -10,7 +10,7 @@ defmodule MirageWeb.NoteLive.Show do
alias Mirage.Links.Link
defp page_title(:show, note), do: note.title
defp page_title(:edit, note), do: "Edit Note"
defp page_title(:edit, _note), do: "Edit Note"
@impl true
def mount(_params, session, socket) do

1
test/mirage/lists_test.exs

@ -16,7 +16,6 @@ defmodule Mirage.ListsTest do
|> Enum.into(@valid_attrs)
|> Lists.create_list()
list
|> Lists.preload_list()
end

Loading…
Cancel
Save