Update javascript/ql/lib/semmle/javascript/frameworks/React.qll

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Kristen Newbury
2025-10-28 11:33:45 -04:00
committed by Asger F
parent ee60f8e6c6
commit 7b8a3d044e

View File

@@ -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