From 06734745abb85c1911c3892f2a642befb6c030ce Mon Sep 17 00:00:00 2001 From: Mahdy Arief Date: Fri, 10 Apr 2026 15:22:48 +0700 Subject: [PATCH] fix(video-editor): wrap blur case in block for lexical scope --- src/components/video-editor/AnnotationOverlay.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/video-editor/AnnotationOverlay.tsx b/src/components/video-editor/AnnotationOverlay.tsx index e7bd16e8..ee58b361 100644 --- a/src/components/video-editor/AnnotationOverlay.tsx +++ b/src/components/video-editor/AnnotationOverlay.tsx @@ -113,7 +113,7 @@ export function AnnotationOverlay({ ); - case "blur": + case "blur": { const previewScaleFactor = containerWidth / BASE_PREVIEW_WIDTH; const blurPx = BLUR_ANNOTATION_STRENGTH * previewScaleFactor; const blurStyle = `blur(${blurPx}px)`; @@ -128,6 +128,7 @@ export function AnnotationOverlay({ }} /> ); + } default: return null;