mirror of
https://github.com/fly-apps/live_beats.git
synced 2024-12-28 09:50:27 +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
|