diff --git a/apps/cast/src/pages/index.tsx b/apps/cast/src/pages/index.tsx index 59567e8f6..c780c4493 100644 --- a/apps/cast/src/pages/index.tsx +++ b/apps/cast/src/pages/index.tsx @@ -9,7 +9,6 @@ import { import { useRouter } from 'next/router'; import { SESSION_KEYS, setKey } from '@ente/shared/storage/sessionStorage'; import TimerBar from 'components/TimerBar'; -import PairedSuccessfullyOverlay from 'components/PairedSuccessfullyOverlay'; import LargeType from 'components/LargeType'; // Function to generate cryptographically secure digits @@ -40,9 +39,6 @@ export default function PairingMode() { const [borderWidthPercentage, setBorderWidthPercentage] = useState(100); - const [showPairingCompleteOverlay, setShowPairingCompleteOverlay] = - useState(false); - useEffect(() => { init(); const interval = setInterval(() => { @@ -134,8 +130,6 @@ export default function PairingMode() { storePayloadLocally(data); - setShowPairingCompleteOverlay(true); - router.push('/slideshow'); }, 1000); @@ -221,7 +215,6 @@ export default function PairingMode() {

- {showPairingCompleteOverlay && } ); }