diff --git a/packages/shared/tryOnBeforeUnmount/index.md b/packages/shared/tryOnBeforeUnmount/index.md index 7ea267a28b49..1bd4184419dc 100644 --- a/packages/shared/tryOnBeforeUnmount/index.md +++ b/packages/shared/tryOnBeforeUnmount/index.md @@ -2,7 +2,7 @@ category: Component --- -# tryOnUnmounted +# tryOnBeforeUnmount Safe `onBeforeUnmount`. Call `onBeforeUnmount()` if it's inside a component lifecycle, if not, do nothing