fix: desktop and mobile
This commit is contained in:
1 parent
f66cda4bed
commit
601078f9cf
23 files changed
+670
-132
No files matched your search
@@ -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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user