chore: variable naming :) (#4782)

This commit is contained in:
Aakansha Doshi 2022-02-15 16:31:14 +05:30 committed by GitHub
parent 69336b4832
commit 14d1d39e8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2418,13 +2418,13 @@ class App extends React.Component<AppProps, AppState> {
this.lastPointerUp!, this.lastPointerUp!,
this.state, this.state,
); );
const LastPointerUpHittingLinkIcon = isPointHittingLinkIcon( const lastPointerUpHittingLinkIcon = isPointHittingLinkIcon(
this.hitLinkElement!, this.hitLinkElement!,
this.state, this.state,
[lastPointerUpCoords.x, lastPointerUpCoords.y], [lastPointerUpCoords.x, lastPointerUpCoords.y],
this.isMobile, this.isMobile,
); );
if (lastPointerDownHittingLinkIcon && LastPointerUpHittingLinkIcon) { if (lastPointerDownHittingLinkIcon && lastPointerUpHittingLinkIcon) {
const url = this.hitLinkElement.link; const url = this.hitLinkElement.link;
if (url) { if (url) {
let customEvent; let customEvent;