소스 검색

Merge pull request #403 from rowinbot/patch-1

Jon Kelley 3 년 전
부모
커밋
5ad484f4bf
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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