mirror of
https://github.com/fly-apps/live_beats.git
synced 2024-11-25 09:20:59 +00:00
7 lines
196 B
Elixir
7 lines
196 B
Elixir
defmodule LiveBeatsWeb.Nav do
|
|
import Phoenix.LiveView
|
|
|
|
def on_mount(:default, _params, _session, socket) do
|
|
{:cont, assign(socket, genres: LiveBeats.MediaLibrary.list_genres())}
|
|
end
|
|
end
|