diff --git a/src/pages/PairDevice/ConnectViaIP/ConnectViaIP.tsx b/src/pages/PairDevice/ConnectViaIP/ConnectViaIP.tsx
index e3e9415c..9890cb40 100644
--- a/src/pages/PairDevice/ConnectViaIP/ConnectViaIP.tsx
+++ b/src/pages/PairDevice/ConnectViaIP/ConnectViaIP.tsx
@@ -4,7 +4,7 @@ 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 InputsRow from './InputsRow'
import { RootState } from '../../../redux/store'
const ConnectViaIP = () => {
@@ -47,7 +47,7 @@ const ConnectViaIP = () => {
{isAdvanced ? (
- {
isSwitchOn={isVcSwitchOn}
isChecked={isVcChecked}
/>
- {
/>
) : (
-
+
)}
diff --git a/src/pages/PairDevice/ConnectViaIP/AddressAndPortInputs.stories.tsx b/src/pages/PairDevice/ConnectViaIP/InputsRow.stories.tsx
similarity index 72%
rename from src/pages/PairDevice/ConnectViaIP/AddressAndPortInputs.stories.tsx
rename to src/pages/PairDevice/ConnectViaIP/InputsRow.stories.tsx
index 566a937f..6020392f 100644
--- a/src/pages/PairDevice/ConnectViaIP/AddressAndPortInputs.stories.tsx
+++ b/src/pages/PairDevice/ConnectViaIP/InputsRow.stories.tsx
@@ -1,17 +1,17 @@
import type { Meta, StoryObj } from '@storybook/react'
import { withRouter } from 'storybook-addon-react-router-v6'
-import AddressAndPortInputs from './AddressAndPortInputs'
+import InputsRow from './InputsRow'
const meta = {
- title: 'Pair Device/AddressAndPortInputs',
- component: AddressAndPortInputs,
+ title: 'Pair Device/InputsRow',
+ component: InputsRow,
parameters: {
layout: 'centered',
},
tags: ['autodocs'],
decorators: [withRouter],
-} satisfies Meta
+} satisfies Meta
export default meta
type Story = StoryObj
diff --git a/src/pages/PairDevice/ConnectViaIP/AddressAndPortInputs.tsx b/src/pages/PairDevice/ConnectViaIP/InputsRow.tsx
similarity index 96%
rename from src/pages/PairDevice/ConnectViaIP/AddressAndPortInputs.tsx
rename to src/pages/PairDevice/ConnectViaIP/InputsRow.tsx
index aa75d733..b39d8372 100644
--- a/src/pages/PairDevice/ConnectViaIP/AddressAndPortInputs.tsx
+++ b/src/pages/PairDevice/ConnectViaIP/InputsRow.tsx
@@ -4,7 +4,7 @@ import { Stack, Switch, XStack, YStack } from 'tamagui'
import { RootState } from '../../../redux/store'
-type AddressAndPortInputsProps = {
+type InputsRowProps = {
addressType: string
portType?: string
isAdvanced?: boolean
@@ -14,7 +14,7 @@ type AddressAndPortInputsProps = {
isChecked?: boolean
}
-const AddressAndPortInputs = ({
+const InputsRow = ({
isAdvanced,
addressType,
portType,
@@ -22,7 +22,7 @@ const AddressAndPortInputs = ({
port,
isSwitchOn,
isChecked,
-}: AddressAndPortInputsProps) => {
+}: InputsRowProps) => {
const { beaconPort, vcPort, isNodeChecked, isNodeSwitchOn } = useSelector(
(state: RootState) => state.pairDevice,
)
@@ -127,4 +127,4 @@ const AddressAndPortInputs = ({
)
}
-export default AddressAndPortInputs
+export default InputsRow