fix: no type

This commit is contained in:
Jonathan Kelley committed 2022-12-30 22:14:28 -05:00
1 parent e3a8e44a69
commit 4955cfc940
3 files changed
+36 -2

No files matched your search

+1 -1
View File
@@ -77,7 +77,7 @@ impl DesktopContext {
}
/// Create a new window using the props and window builder
pub fn new_window<T: 'static>(&self, dom: VirtualDom, cfg: Config) {
pub fn new_window(&self, dom: VirtualDom, cfg: Config) {
self.pending_windows.borrow_mut().push((dom, cfg));
self.proxy
.send_event(UserWindowEvent(EventData::NewWindow, self.id()))