From c39f52b54bff4507d11acee4a9a4bf290e4b83b5 Mon Sep 17 00:00:00 2001 From: Adam Shiervani Date: Thu, 20 Nov 2025 17:36:53 +0100 Subject: [PATCH] refactor: remove unused Tooltip component from FailSafeModeOverlay --- ui/src/components/FailSafeModeOverlay.tsx | 27 ----------------------- 1 file changed, 27 deletions(-) diff --git a/ui/src/components/FailSafeModeOverlay.tsx b/ui/src/components/FailSafeModeOverlay.tsx index 58207267..4ae22c79 100644 --- a/ui/src/components/FailSafeModeOverlay.tsx +++ b/ui/src/components/FailSafeModeOverlay.tsx @@ -34,33 +34,6 @@ function OverlayContent({ children }: OverlayContentProps) { ); } -interface TooltipProps { - readonly children: React.ReactNode; - readonly text: string; - readonly show: boolean; -} - -function Tooltip({ children, text, show }: TooltipProps) { - if (!show) { - return <>{children}; - } - - - return ( -
- {children} -
- -
- - {text} -
-
-
-
- ); -} - export function FailSafeModeOverlay({ reason }: FailSafeModeOverlayProps) { const { send } = useJsonRpc(); const { navigateTo } = useDeviceUiNavigation();