fix link component
This commit is contained in:
1 parent
5f0dd3af3e
commit
e7a9161066
6 files changed
+42
-39
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) = dbg!(client_rect.await) {
|
||||
if let Ok(rect) = client_rect.await {
|
||||
dimentions.set(rect);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user