File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 11defmodule DarkMode do
2+ @ moduledoc false
23 use Phoenix.Component
34
45 def button ( assigns ) do
Original file line number Diff line number Diff line change @@ -12,15 +12,15 @@ defmodule SafiraWeb.App.ProfileLive.Index do
1212 socket
1313 |> assign ( :user , socket . assigns . current_user )
1414 |> assign ( :current_page , :profile )
15- |> apply_action ( socket . assigns . live_action , _params ) }
15+ |> apply_action ( socket . assigns . live_action ) }
1616 end
1717
18- defp apply_action ( socket , :index , _params ) do
18+ defp apply_action ( socket , :index ) do
1919 socket
2020 |> assign ( :page_title , "Profile" )
2121 end
2222
23- defp apply_action ( socket , :edit , _params ) do
23+ defp apply_action ( socket , :edit ) do
2424 socket
2525 |> assign ( :page_title , "Edit Profile" )
2626 end
Original file line number Diff line number Diff line change 1- < . page id = " profile " title = "Profile " >
1+ < . page title = "Profile " >
22 <: actions >
33 < . button >
44 < . icon name = "hero-edit " class = "w-5 h-5 " />
You can’t perform that action at this time.
0 commit comments