From 7b8a3d044ea3cd32fa4f4a82a3005691613ed742 Mon Sep 17 00:00:00 2001 From: Kristen Newbury Date: Tue, 28 Oct 2025 11:33:45 -0400 Subject: [PATCH] Update javascript/ql/lib/semmle/javascript/frameworks/React.qll Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- javascript/ql/lib/semmle/javascript/frameworks/React.qll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/ql/lib/semmle/javascript/frameworks/React.qll b/javascript/ql/lib/semmle/javascript/frameworks/React.qll index 1c321ae1c12..42885f6b9cb 100644 --- a/javascript/ql/lib/semmle/javascript/frameworks/React.qll +++ b/javascript/ql/lib/semmle/javascript/frameworks/React.qll @@ -615,7 +615,7 @@ private class UseStateStep extends PreCallGraphStep { /** * Step through a `useRef` call. * - * It returns a pair of the initial state, and an object with a single property (current) potentially containing an input value. + * It returns an object with a single property (`current`) initialized to the initial value. * * For example: * ```js