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();