diff --git a/src/pages/PairDevice/PairDevice.tsx b/src/pages/PairDevice/PairDevice.tsx
index fde092d9..40ef3712 100644
--- a/src/pages/PairDevice/PairDevice.tsx
+++ b/src/pages/PairDevice/PairDevice.tsx
@@ -10,12 +10,12 @@ import PairIcon from '../../components/Icons/PairIcon'
import CreateIcon from '../../components/Icons/CreateIcon'
import NodeIcon from '../../components/Icons/NodeIcon'
import Titles from '../../components/General/Titles'
-import CompleteId from '../../components/Icons/CompleteId'
-
+// import CompleteId from '../../components/Icons/CompleteId'
const PairDevice = () => {
const [autoChecked, setAutoChecked] = useState(false)
const isPaired = true
- const isPairing = true
+ const isPairing = false
+ const isPairedSuccessfully = true
console.log(uuidv4())
return (
@@ -38,18 +38,22 @@ const PairDevice = () => {
Pair with Command line
- }>
+
-
- Generated Pairing ID
-
- '} />
+ {!isPairedSuccessfully && (
+ <>
+
+ Generated Pairing ID
+
+ '} />
+ >
+ )}
-
+
Settings
diff --git a/src/pages/PairDevice/SyncStatus.tsx b/src/pages/PairDevice/SyncStatus.tsx
index d1e82f00..2f54fde2 100644
--- a/src/pages/PairDevice/SyncStatus.tsx
+++ b/src/pages/PairDevice/SyncStatus.tsx
@@ -9,8 +9,9 @@ import { convertSecondsToTimerFormat } from '../../utilities'
import { useEffect, useState } from 'react'
type SyncStatusProps = {
isPairing: boolean
+ isPairedSuccessfully: boolean
}
-const SyncStatus = ({ isPairing }: SyncStatusProps) => {
+const SyncStatus = ({ isPairing, isPairedSuccessfully }: SyncStatusProps) => {
const [elapsedTime, setElapsedTime] = useState(0)
const [isAwaitingPairing, setIsAwaitingPairing] = useState(false)
@@ -58,15 +59,24 @@ const SyncStatus = ({ isPairing }: SyncStatusProps) => {
variant="ghost"
/>
- {isPairing ? (
-
- Awaiting pairing connection...
-
+ {!isPairedSuccessfully ? (
+ <>
+ {isPairing ? (
+
+ Awaiting pairing connection...
+
+ ) : (
+
+ No pairing input provided.
+
+ )}
+ >
) : (
-
- No pairing input provided.
+
+ Paired Successfully! 🥳
)}
+
{isAwaitingPairing && (