Skip to content

Commit d8e943e

Browse files
asgerfCopilot
andauthored
Update javascript/ql/lib/semmle/javascript/frameworks/React.qll
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent ca393a9 commit d8e943e

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
@@ -361,7 +361,7 @@ abstract private class SharedReactPreactClassComponent extends ReactComponent in
361361
* Note that every class has a constructor: if no explicit constructor
362362
* is declared, it has a synthetic default constructor.
363363
*/
364-
ConstructorDeclaration getConstructor() { result = ClassDefinition.super.getAMethod() }
364+
ConstructorDeclaration getConstructor() { result = ClassDefinition.super.getConstructor() }
365365
}
366366

367367
/**

0 commit comments

Comments
 (0)