Skip to content

Commit 7230814

Browse files
knewbury01Copilot
andauthored
Update javascript/ql/lib/semmle/javascript/frameworks/React.qll
Co-authored-by: Copilot <[email protected]>
1 parent bab0a97 commit 7230814

File tree

1 file changed

+1
-1
lines changed
  • javascript/ql/lib/semmle/javascript/frameworks

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,7 @@ private class UseStateStep extends PreCallGraphStep {
615615
/**
616616
* Step through a `useRef` call.
617617
*
618-
* It returns a pair of the initial state, and an object with a single property (current) potentially containing an input value.
618+
* It returns an object with a single property (`current`) initialized to the initial value.
619619
*
620620
* For example:
621621
* ```js

0 commit comments

Comments
 (0)