fix all broken examples (#1248)

This commit is contained in:
ealmloff authored and GitHub committed 2023-07-25 14:30:08 -05:00
1 parent 6751d5941b
commit d637ef187c
12 files changed
+29 -25

No files matched your search

+1 -1
View File
@@ -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);
}
}