mirror of
https://github.com/adoyle0/leptos-use.git
synced 2025-03-13 01:09:48 -04:00
chore: rustfmt
This commit is contained in:
parent
3ae4c14ca5
commit
ef98c8f16e
3 changed files with 7 additions and 6 deletions
|
@ -113,7 +113,8 @@ where
|
|||
cleanup();
|
||||
|
||||
if is_supported() && !targets.is_empty() {
|
||||
let obs = web_sys::ResizeObserver::new(closure_js.clone().as_ref().unchecked_ref())
|
||||
let obs =
|
||||
web_sys::ResizeObserver::new(closure_js.clone().as_ref().unchecked_ref())
|
||||
.expect("failed to create ResizeObserver");
|
||||
|
||||
for target in targets.iter().flatten() {
|
||||
|
|
Loading…
Add table
Reference in a new issue