Przeglądaj źródła

Update useref.rs defualt -> default

Rowin Hernández 3 lat temu
rodzic
commit
95573d1f54
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      packages/hooks/src/useref.rs

+ 1 - 1
packages/hooks/src/useref.rs

@@ -24,7 +24,7 @@ use std::{
 /// val.write().insert(1, "hello".to_string());
 /// ```
 ///
-/// You can avoid this defualt behavior with `write_silent`
+/// You can avoid this default behavior with `write_silent`
 ///
 /// ```
 /// // with `write_silent`, the component will not be re-rendered