Skip to content

Commit ef09bdc

Browse files
fix: CI
1 parent 96c6c34 commit ef09bdc

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

lib/safira_web/components/dark_mode.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
defmodule DarkMode do
2+
@moduledoc false
23
use Phoenix.Component
34

45
def button(assigns) do

lib/safira_web/live/app/profile_live/index.ex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

lib/safira_web/live/app/profile_live/index.html.heex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<.page id="profile" title="Profile">
1+
<.page title="Profile">
22
<:actions>
33
<.button>
44
<.icon name="hero-edit" class="w-5 h-5" />

0 commit comments

Comments
 (0)