@@ -15,7 +15,6 @@ import { Gateway16Icon } from '@oxide/design-system/icons/react'
15
15
import { apiQueryClient , queryClient , usePrefetchedApiQuery } from '~/api'
16
16
import { SideModalForm } from '~/components/form/SideModalForm'
17
17
import { getInternetGatewaySelector , useInternetGatewaySelector } from '~/hooks/use-params'
18
- import { DescriptionCell } from '~/table/cells/DescriptionCell'
19
18
import { IpPoolCell } from '~/table/cells/IpPoolCell'
20
19
import { CopyableIp } from '~/ui/lib/CopyableIp'
21
20
import { FormDivider } from '~/ui/lib/Divider'
@@ -137,9 +136,7 @@ export function EditInternetGatewayForm() {
137
136
/>
138
137
< PropertiesTable key = { internetGateway . id } >
139
138
< PropertiesTable . Row label = "Name" > { internetGateway . name } </ PropertiesTable . Row >
140
- < PropertiesTable . Row label = "Description" >
141
- < DescriptionCell text = { internetGateway . description } />
142
- </ PropertiesTable . Row >
139
+ < PropertiesTable . DescriptionRow description = { internetGateway . description } />
143
140
</ PropertiesTable >
144
141
145
142
< FormDivider />
@@ -154,9 +151,7 @@ export function EditInternetGatewayForm() {
154
151
< PropertiesTable . Row label = "Name" >
155
152
{ gatewayIpAddress . name }
156
153
</ PropertiesTable . Row >
157
- < PropertiesTable . Row label = "Description" >
158
- < DescriptionCell text = { gatewayIpAddress . description } />
159
- </ PropertiesTable . Row >
154
+ < PropertiesTable . DescriptionRow description = { gatewayIpAddress . description } />
160
155
< PropertiesTable . Row label = "IP Address" >
161
156
< CopyableIp ip = { gatewayIpAddress . address } />
162
157
</ PropertiesTable . Row >
@@ -183,9 +178,7 @@ export function EditInternetGatewayForm() {
183
178
gatewayIpPools . map ( ( gatewayIpPool ) => (
184
179
< PropertiesTable key = { gatewayIpPool . id } >
185
180
< PropertiesTable . Row label = "Name" > { gatewayIpPool . name } </ PropertiesTable . Row >
186
- < PropertiesTable . Row label = "Description" >
187
- < DescriptionCell text = { gatewayIpPool . description } />
188
- </ PropertiesTable . Row >
181
+ < PropertiesTable . DescriptionRow description = { gatewayIpPool . description } />
189
182
< PropertiesTable . Row label = "IP Pool Name" >
190
183
< IpPoolCell ipPoolId = { gatewayIpPool . ipPoolId } />
191
184
</ PropertiesTable . Row >
0 commit comments