fix tui
This commit is contained in:
1 parent
608c37428d
commit
6c28de7d05
2 files changed
+3
-3
No files matched your search
@@ -11,7 +11,7 @@ pub use input::*;
|
||||
|
||||
pub(crate) fn get_root_id<T>(cx: Scope<T>) -> Option<ElementId> {
|
||||
if let RenderReturn::Sync(Some(sync)) = cx.root_node() {
|
||||
sync.root_ids.get(0).and_then(|id| id.get())
|
||||
sync.root_ids.get(0)
|
||||
} else {
|
||||
None
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user