Skip to content

Commit c4492d2

Browse files
c298leeryan953
andauthored
Update packages/feedback/src/screenshot/components/ScreenshotEditor.tsx
Co-authored-by: Ryan Albrecht <ryan.albrecht@sentry.io>
1 parent d00efd7 commit c4492d2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/feedback/src/screenshot/components/ScreenshotEditor.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,9 @@ export function ScreenshotEditorFactory({
261261
}
262262

263263
function onAnnotateStart(): void {
264-
if (!isAnnotating) return;
264+
if (!isAnnotating) {
265+
return;
266+
}
265267

266268
const handleMouseMove = (moveEvent: MouseEvent): void => {
267269
const annotateCanvas = annotatingRef.current;

0 commit comments

Comments
 (0)