fix: desktop and mobile

This commit is contained in:
Jonathan Kelley committed 2021-10-22 01:16:39 -04:00
1 parent f66cda4bed
commit 601078f9cf
23 files changed
+670 -132

No files matched your search

+1 -1
View File
@@ -102,7 +102,7 @@ impl<'a, T: 'static> UseState<'a, T> {
}
}
pub fn set(&self, new_val: T) {
pub fn set(&mut self, new_val: T) {
*self.inner.wip.borrow_mut() = Some(new_val);
self.needs_update();
}