1
1
import { useMutation , useQuery } from '@apollo/client'
2
2
import { Box } from 'grommet'
3
- import { Avatar , Button , Div , Flex , Span } from 'honorable'
3
+ import { Button , Div , Flex , Span } from 'honorable'
4
4
import moment from 'moment'
5
5
import { useState } from 'react'
6
6
import { AppIcon , ArrowLeftIcon } from '@pluralsh/design-system'
@@ -16,11 +16,9 @@ import { DeleteIconButton } from '../utils/IconButtons'
16
16
import { StandardScroller } from '../utils/SmoothScroller'
17
17
import { Table , TableData , TableRow } from '../utils/Table'
18
18
import { ProviderIcon } from '../utils/ProviderIcon'
19
-
20
19
import { Confirm } from '../utils/Confirm'
21
20
22
21
import { DELETE_DNS_RECORD , DNS_RECORDS } from './queries'
23
- import { DnsRecordFragment } from '../../generated/graphql'
24
22
25
23
function DeleteRecord ( { record, domain } : any ) {
26
24
const [ confirm , setConfirm ] = useState ( false )
@@ -105,7 +103,7 @@ export function DnsRecords({ domain, setDomain }: any) {
105
103
items = { edges }
106
104
loading = { loading }
107
105
placeholder = { Placeholder }
108
- mapper = { ( { node } : { node : DnsRecordFragment } , { next } ) => (
106
+ mapper = { ( { node } , { next } ) => (
109
107
< TableRow
110
108
key = { node . id }
111
109
last = { ! next . node }
0 commit comments