Browse Source

chore: warning

main
Inhji Y. 8 months ago
parent
commit
af741e2bb4
  1. 2
      lib/mirage_web/live/note_live/index.ex

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

@ -8,7 +8,7 @@ defmodule MirageWeb.NoteLive.Index do
def mount(_params, %{"user_id" => user_id}, socket) do
{:ok,
socket
|> assign(:notes, Notes.list_notes())
|> assign(:notes, list_notes())
|> assign(:current_user, Mirage.Accounts.get_user!(user_id))}
end

Loading…
Cancel
Save