From f5fab00165479f41d79d325cb15a76cd294253cf Mon Sep 17 00:00:00 2001 From: Christopher Biscardi Date: Sat, 31 Aug 2024 07:04:27 -0700 Subject: [PATCH] lint fix --- .github/workflows/release.yml | 1 + crates/www/src/components/progress_bar.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fb5c3fd..1215ff5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,6 +4,7 @@ on: branches: - "wasm-main" paths: + - "crates/www/Cargo.toml" - "crates/www/src/**" - "Dockerfile" - "crates/www/style/**" diff --git a/crates/www/src/components/progress_bar.rs b/crates/www/src/components/progress_bar.rs index 50978b8..d2c7869 100644 --- a/crates/www/src/components/progress_bar.rs +++ b/crates/www/src/components/progress_bar.rs @@ -1,4 +1,5 @@ use leptos::prelude::*; +#[cfg(not(feature = "ssr"))] use leptos_use::{use_event_listener, use_window}; const STYLES: &str = "#top-progress {