diff --git a/src/pages/PairDevice/ConnectExistingInctance.stories.tsx b/src/pages/PairDevice/ConnectViaIP.stories.tsx similarity index 61% rename from src/pages/PairDevice/ConnectExistingInctance.stories.tsx rename to src/pages/PairDevice/ConnectViaIP.stories.tsx index 3f8d2b64..4a8e306d 100644 --- a/src/pages/PairDevice/ConnectExistingInctance.stories.tsx +++ b/src/pages/PairDevice/ConnectViaIP.stories.tsx @@ -1,17 +1,17 @@ import type { Meta, StoryObj } from '@storybook/react' import { withRouter } from 'storybook-addon-react-router-v6' -import ConnectExistingInstance from './ConnectExistingInstance' +import ConnectViaIP from './ConnectViaIP' const meta = { - title: 'Connect-Device/ConnectExistingInstance', - component: ConnectExistingInstance, + title: 'Connect-Device/ConnectViaIP', + component: ConnectViaIP, parameters: { layout: 'centered', }, tags: ['autodocs'], decorators: [withRouter], -} satisfies Meta +} satisfies Meta export default meta type Story = StoryObj diff --git a/src/pages/PairDevice/ConnectExistingInstance.tsx b/src/pages/PairDevice/ConnectViaIP.tsx similarity index 94% rename from src/pages/PairDevice/ConnectExistingInstance.tsx rename to src/pages/PairDevice/ConnectViaIP.tsx index 58b44246..936f2436 100644 --- a/src/pages/PairDevice/ConnectExistingInstance.tsx +++ b/src/pages/PairDevice/ConnectViaIP.tsx @@ -6,7 +6,7 @@ import { SettingsIcon, ClearIcon } from '@status-im/icons' import ClientAddressRow from './ClientAddressRow' import BeaconAddress from './BeaconAddress' -const ConnectExistingInstance = () => { +const ConnectViaIP = () => { const [encryptedPassword, setEncryptedPassword] = useState('') const changeEncryptedPasswordHandler = (value: string) => { @@ -48,4 +48,4 @@ const ConnectExistingInstance = () => { ) } -export default ConnectExistingInstance +export default ConnectViaIP diff --git a/src/pages/PairDevice/PairDevice.tsx b/src/pages/PairDevice/PairDevice.tsx index 6f108c95..947ca24e 100644 --- a/src/pages/PairDevice/PairDevice.tsx +++ b/src/pages/PairDevice/PairDevice.tsx @@ -10,7 +10,7 @@ import PairedSuccessfully from './PairedSuccessfully' import CreateAvatar from '../../components/General/CreateAvatar/CreateAvatar' import GenerateId from './GenerateId' import Header from '../../components/General/Header' -import ConnectExistingInstance from './ConnectExistingInstance' +import ConnectViaIP from './ConnectViaIP' const PairDevice = () => { const [isAwaitingPairing, setIsAwaitingPairing] = useState(false) @@ -35,7 +35,7 @@ const PairDevice = () => { subtitle="Pair your existing device to the Nimbus Node Manager" /> {isConnectingViaIp ? ( - + ) : ( <> {isPaired ? (