mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
Update javascript/ql/src/semmle/javascript/frameworks/React.qll
Co-authored-by: Erik Krogh Kristensen <erik-krogh@github.com>
This commit is contained in:
@@ -596,6 +596,7 @@ private class UseStateStep extends PreCallGraphStep {
|
||||
* function Foo() {
|
||||
* let succ = useContext(MyContext);
|
||||
* }
|
||||
* ```
|
||||
*/
|
||||
private class UseContextStep extends PreCallGraphStep {
|
||||
override predicate step(DataFlow::Node pred, DataFlow::Node succ) {
|
||||
|
||||
Reference in New Issue
Block a user