@@ -15,7 +15,6 @@ import { Gateway16Icon } from '@oxide/design-system/icons/react'
1515import { apiQueryClient , queryClient , usePrefetchedApiQuery } from '~/api'
1616import { SideModalForm } from '~/components/form/SideModalForm'
1717import { getInternetGatewaySelector , useInternetGatewaySelector } from '~/hooks/use-params'
18- import { DescriptionCell } from '~/table/cells/DescriptionCell'
1918import { IpPoolCell } from '~/table/cells/IpPoolCell'
2019import { CopyableIp } from '~/ui/lib/CopyableIp'
2120import { FormDivider } from '~/ui/lib/Divider'
@@ -137,9 +136,7 @@ export function EditInternetGatewayForm() {
137136 />
138137 < PropertiesTable key = { internetGateway . id } >
139138 < 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 } />
143140 </ PropertiesTable >
144141
145142 < FormDivider />
@@ -154,9 +151,7 @@ export function EditInternetGatewayForm() {
154151 < PropertiesTable . Row label = "Name" >
155152 { gatewayIpAddress . name }
156153 </ PropertiesTable . Row >
157- < PropertiesTable . Row label = "Description" >
158- < DescriptionCell text = { gatewayIpAddress . description } />
159- </ PropertiesTable . Row >
154+ < PropertiesTable . DescriptionRow description = { gatewayIpAddress . description } />
160155 < PropertiesTable . Row label = "IP Address" >
161156 < CopyableIp ip = { gatewayIpAddress . address } />
162157 </ PropertiesTable . Row >
@@ -183,9 +178,7 @@ export function EditInternetGatewayForm() {
183178 gatewayIpPools . map ( ( gatewayIpPool ) => (
184179 < PropertiesTable key = { gatewayIpPool . id } >
185180 < 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 } />
189182 < PropertiesTable . Row label = "IP Pool Name" >
190183 < IpPoolCell ipPoolId = { gatewayIpPool . ipPoolId } />
191184 </ PropertiesTable . Row >
0 commit comments