From 1deffe8ee43375caedf258ce271116d6ba3655b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matou=C5=A1=20Volf?= Date: Sat, 4 Jan 2025 10:44:05 +0100 Subject: [PATCH] refactor: use the dedicated stylesheet component instead of a link --- src/components/app.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/app.rs b/src/components/app.rs index 82c2fe7..bb523c3 100644 --- a/src/components/app.rs +++ b/src/components/app.rs @@ -35,10 +35,10 @@ pub(crate) fn App() -> Element { rsx! { document::Link { rel: "icon", href: FAVICON } - document::Link { rel: "stylesheet", href: TAILWIND_CSS } - document::Link { rel: "stylesheet", href: FONTS_CSS } - document::Link { rel: "stylesheet", href: INPUT_NUMBER_ARROWS_CSS } - document::Link { rel: "stylesheet", href: INPUT_RANGE_CSS } + document::Stylesheet { href: TAILWIND_CSS } + document::Stylesheet { href: FONTS_CSS } + document::Stylesheet { href: INPUT_NUMBER_ARROWS_CSS } + document::Stylesheet { href: INPUT_RANGE_CSS } document::Script { src: "https://kit.fontawesome.com/3c1b409f8f.js" } div { -- 2.47.1