mirror of
https://github.com/adoyle0/leptos-use.git
synced 2025-01-23 00:59:22 -05:00
fix cargo fmt issues
Forgot to set up "cargo fmt" on save --new system.
This commit is contained in:
parent
09b08f64f5
commit
44cab1027d
1 changed files with 4 additions and 1 deletions
|
@ -6,7 +6,10 @@ use crate::core::impl_ssr_safe_method;
|
||||||
#[cfg(not(feature = "ssr"))]
|
#[cfg(not(feature = "ssr"))]
|
||||||
use leptos::*;
|
use leptos::*;
|
||||||
use wasm_bindgen::JsValue;
|
use wasm_bindgen::JsValue;
|
||||||
use web_sys::{Document, Element, HtmlCollection, HtmlElement, HtmlHeadElement, Location, NodeList, VisibilityState, Window};
|
use web_sys::{
|
||||||
|
Document, Element, HtmlCollection, HtmlElement, HtmlHeadElement, Location, NodeList,
|
||||||
|
VisibilityState, Window,
|
||||||
|
};
|
||||||
|
|
||||||
/// SSR safe `document()`.
|
/// SSR safe `document()`.
|
||||||
/// This returns just a new-type wrapper around `Option<Document>`.
|
/// This returns just a new-type wrapper around `Option<Document>`.
|
||||||
|
|
Loading…
Add table
Reference in a new issue