diff --git a/src/pages/PairDevice/ConnectViaIP/ConnectViaIP.tsx b/src/pages/PairDevice/ConnectViaIP/ConnectViaIP.tsx index 59397442..2dd57e0a 100644 --- a/src/pages/PairDevice/ConnectViaIP/ConnectViaIP.tsx +++ b/src/pages/PairDevice/ConnectViaIP/ConnectViaIP.tsx @@ -2,12 +2,17 @@ import { Separator, XStack, YStack } from 'tamagui' import { useState } from 'react' import { Button, Input, Text } from '@status-im/components' import { SettingsIcon, ClearIcon } from '@status-im/icons' +import { useSelector } from 'react-redux' import AddressPortInputs from './AddressAndPortInputs' +import { RootState } from '../../../redux/store' const ConnectViaIP = () => { const [apiToken, setApiToken] = useState('') const [isAdvanced, setIsAdvanced] = useState(false) + const { beaconPort, vcPort, nodeAddress, beaconAddress, vcAddress } = useSelector( + (state: RootState) => state.pairDevice, + ) const changeApiToken = (value: string) => { setApiToken(value) @@ -37,12 +42,20 @@ const ConnectViaIP = () => { + - ) : ( - + )}