Skip to content

Virtual whiteboard for sketching hand-drawn like diagrams

chore: variable naming :) (#4782)

Aakansha Doshi14d1d39e8e87
diff --git a/src/components/App.tsx b/src/components/App.tsx
index e6113d031b..a524bd5e34 100644
--- a/src/components/App.tsx
+++ b/src/components/App.tsx
@@ -2418,13 +2418,13 @@ class App extends React.Component<AppProps, AppState> {
this.lastPointerUp!,
this.state,
);
- const LastPointerUpHittingLinkIcon = isPointHittingLinkIcon(
+ const lastPointerUpHittingLinkIcon = isPointHittingLinkIcon(
this.hitLinkElement!,
this.state,
[lastPointerUpCoords.x, lastPointerUpCoords.y],
this.isMobile,
);
- if (lastPointerDownHittingLinkIcon && LastPointerUpHittingLinkIcon) {
+ if (lastPointerDownHittingLinkIcon && lastPointerUpHittingLinkIcon) {
const url = this.hitLinkElement.link;
if (url) {
let customEvent;