diff --git a/src/pages/PairDevice/PairDevice.tsx b/src/pages/PairDevice/PairDevice.tsx index 3f4321f8..bc59843b 100644 --- a/src/pages/PairDevice/PairDevice.tsx +++ b/src/pages/PairDevice/PairDevice.tsx @@ -27,11 +27,7 @@ const PairDevice = () => { setIsConnectingViaIp(state => !state) } - const continueHandler = () => { - if (isConnectingViaIp) { - } else { - } - } + const continueHandler = () => {} return ( @@ -43,23 +39,42 @@ const PairDevice = () => { /> {isConnectingViaIp ? ( + ) : isPaired ? ( + ) : ( <> - {isPaired ? ( - - ) : ( - - )} - {isPaired === false && ( - - )} + + )} - {isPaired === false && ( + {isPaired ? ( + <> + + + + General Settings + + + setIsAutoConnectChecked(e)} + variant="outline" + /> + + + + + + ) : ( @@ -80,28 +95,6 @@ const PairDevice = () => { )} - {isPaired && ( - - - - General Settings - - - setIsAutoConnectChecked(e)} - variant="outline" - /> - - - - )} - {isPaired && }