From c32a7366400e778a6acfb994ac77fd05e22f7c3f Mon Sep 17 00:00:00 2001 From: JasterV <49537445+JasterV@users.noreply.github.com> Date: Thu, 6 Nov 2025 23:30:56 +0100 Subject: [PATCH] feat: update phoenix --- assets/package-lock.json | 7 +-- .../components/core_components.ex | 16 +++---- .../components/device_card_component.ex | 2 +- .../components/layouts/app.html.heex | 2 +- .../components/layouts/hub_root.html.heex | 4 +- .../components/layouts/root.html.heex | 4 +- mix.exs | 43 +++++++++++-------- mix.lock | 16 ++++--- 8 files changed, 54 insertions(+), 40 deletions(-) diff --git a/assets/package-lock.json b/assets/package-lock.json index 918b1dd..ea331ef 100644 --- a/assets/package-lock.json +++ b/assets/package-lock.json @@ -41,9 +41,10 @@ "integrity": "sha512-mhczD7KfYi1anfoMPKRdl0wPSWiYc0YOK4KyycYs3EaNT15pVVNDG5CtfgZcEBWIPJEdfR7r8K4hTXDD2ECBVQ==" }, "node_modules/ws": { - "version": "8.16.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.16.0.tgz", - "integrity": "sha512-HS0c//TP7Ina87TfiPUz1rQzMhHrl/SG2guqRcTOIUYD2q8uhUdNHZYJUaQ8aTGPzCh+c6oawMKW35nFl1dxyQ==", + "version": "8.18.3", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.3.tgz", + "integrity": "sha512-PEIGCY5tSlUt50cqyMXfCzX+oOPqN0vuGqWzbcJ2xvnkzkq46oOpz7dQaTDBdfICb4N14+GARUDw2XV2N4tvzg==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, diff --git a/lib/intisync_web/components/core_components.ex b/lib/intisync_web/components/core_components.ex index 022d53a..bea5e48 100644 --- a/lib/intisync_web/components/core_components.ex +++ b/lib/intisync_web/components/core_components.ex @@ -53,9 +53,9 @@ defmodule IntisyncWeb.CoreComponents do
<.icon :if={@kind == :info} name="hero-information-circle-mini" class="h-4 w-4" /> <.icon :if={@kind == :error} name="hero-exclamation-circle-mini" class="h-4 w-4" /> - <%= @title %> + {@title}
-<%= msg %>
+{msg}
@@ -131,9 +131,9 @@ defmodule IntisyncWeb.CoreComponents do ~H""" <.form :let={f} for={@for} as={@as} {@rest}><.icon name="hero-exclamation-circle-mini" class="mt-0.5 h-5 w-5 flex-none" /> - <%= render_slot(@inner_block) %> + {render_slot(@inner_block)}
""" end @@ -224,7 +224,7 @@ defmodule IntisyncWeb.CoreComponents do class="text-sm font-semibold leading-6 text-zinc-900 hover:text-zinc-700" > <.icon name="hero-arrow-left-solid" class="h-3 w-3" /> - <%= render_slot(@inner_block) %> + {render_slot(@inner_block)} """ diff --git a/lib/intisync_web/components/device_card_component.ex b/lib/intisync_web/components/device_card_component.ex index 50b6bb5..3496da1 100644 --- a/lib/intisync_web/components/device_card_component.ex +++ b/lib/intisync_web/components/device_card_component.ex @@ -17,7 +17,7 @@ defmodule IntisyncWeb.DeviceCardComponent do ><.icon name="hero-link-solid" class="mr-1" /> - <%= @device.name %> + {@device.name}