fix all broken examples (#1248)
This commit is contained in:
1 parent
6751d5941b
commit
d637ef187c
12 files changed
+29
-25
No files matched your search
@@ -48,7 +48,7 @@ fn app(cx: Scope) -> Element {
|
||||
let read = div_element.read();
|
||||
let client_rect = read.as_ref().map(|el| el.get_client_rect());
|
||||
if let Some(client_rect) = client_rect {
|
||||
if let Ok(rect) = client_rect.await {
|
||||
if let Ok(rect) = dbg!(client_rect.await) {
|
||||
dimentions.set(rect);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user