From 2f87ff2ae39bfb661f86b1f5e18c79ff43e35577 Mon Sep 17 00:00:00 2001 From: EthanHealy01 Date: Wed, 17 Dec 2025 10:13:46 +0000 Subject: [PATCH] frontend validation --- .../components/shared/rightRail/ViewerAnnotationControls.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/core/components/shared/rightRail/ViewerAnnotationControls.tsx b/frontend/src/core/components/shared/rightRail/ViewerAnnotationControls.tsx index 3248ae9f1..ddda276c3 100644 --- a/frontend/src/core/components/shared/rightRail/ViewerAnnotationControls.tsx +++ b/frontend/src/core/components/shared/rightRail/ViewerAnnotationControls.tsx @@ -48,7 +48,7 @@ export default function ViewerAnnotationControls({ currentView, disabled = false const isRedactMode = selectedTool === 'redact'; // Get redaction pending state and navigation guard - const { pendingCount: redactionPendingCount, isRedacting: _isRedacting, activeType } = useRedactionMode(); + const { pendingCount: redactionPendingCount, isRedacting: _isRedacting } = useRedactionMode(); const { requestNavigation, setHasUnsavedChanges } = useNavigationGuard(); const { setRedactionMode, activateTextSelection, setRedactionConfig, setRedactionsApplied, redactionApiRef, setActiveType } = useRedaction();