فهرست منبع

fix: Typo on use_on_unmount (#1421)

Marc Espín 1 سال پیش
والد
کامیت
a0d1e5de3a
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      packages/hooks/src/use_on_unmount.rs

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

@@ -1,4 +1,4 @@
-/// Creats a callback that will be run before the component is removed. This can be used to clean up side effects from the component (created with use_effect)
+/// Creates a callback that will be run before the component is removed. This can be used to clean up side effects from the component (created with use_effect)
 ///
 /// Example:
 /// ```rust