Browse Source

fix: unmarking component as dirty in silent write

Koptan 3 years ago
parent
commit
eb3fd74bf9
1 changed files with 0 additions and 1 deletions
  1. 0 1
      packages/fermi/src/hooks/atom_ref.rs

+ 0 - 1
packages/fermi/src/hooks/atom_ref.rs

@@ -76,7 +76,6 @@ impl<T: 'static> UseAtomRef<T> {
     }
 
     pub fn write_silent(&self) -> RefMut<T> {
-        self.root.force_update(self.ptr);
         self.value.borrow_mut()
     }