From dc3b62ca27f7a3caa0e34ee5183ac380cbdbbbe4 Mon Sep 17 00:00:00 2001 From: Matt Carroll Date: Tue, 17 Dec 2024 02:21:39 -0800 Subject: [PATCH] Reworded for clarity --- src/content/reference/react-dom/components/common.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/reference/react-dom/components/common.md b/src/content/reference/react-dom/components/common.md index 9c58a13d694..46fd81ba715 100644 --- a/src/content/reference/react-dom/components/common.md +++ b/src/content/reference/react-dom/components/common.md @@ -347,7 +347,7 @@ export default function MyForm() { -To fix the hanging ref to the DOM node that is no longer rendered set the `ref.current` to `null` in the ref callback cleanup function. +To fix the hanging ref to the DOM node that is no longer rendered, set `ref.current` to `null` in the `ref` callback cleanup function. ```js import { useRef } from "react";