Skip to content

Commit 57ebdf3

Browse files
committed
lint
1 parent c95219c commit 57ebdf3

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

www/src/components/account/DnsRecords.tsx

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { useMutation, useQuery } from '@apollo/client'
22
import { Box } from 'grommet'
3-
import { Avatar, Button, Div, Flex, Span } from 'honorable'
3+
import { Button, Div, Flex, Span } from 'honorable'
44
import moment from 'moment'
55
import { useState } from 'react'
66
import { AppIcon, ArrowLeftIcon } from '@pluralsh/design-system'
@@ -16,11 +16,9 @@ import { DeleteIconButton } from '../utils/IconButtons'
1616
import { StandardScroller } from '../utils/SmoothScroller'
1717
import { Table, TableData, TableRow } from '../utils/Table'
1818
import { ProviderIcon } from '../utils/ProviderIcon'
19-
2019
import { Confirm } from '../utils/Confirm'
2120

2221
import { DELETE_DNS_RECORD, DNS_RECORDS } from './queries'
23-
import { DnsRecordFragment } from '../../generated/graphql'
2422

2523
function DeleteRecord({ record, domain }: any) {
2624
const [confirm, setConfirm] = useState(false)
@@ -105,7 +103,7 @@ export function DnsRecords({ domain, setDomain }: any) {
105103
items={edges}
106104
loading={loading}
107105
placeholder={Placeholder}
108-
mapper={({ node }: { node: DnsRecordFragment }, { next }) => (
106+
mapper={({ node }, { next }) => (
109107
<TableRow
110108
key={node.id}
111109
last={!next.node}

www/src/components/account/Domains.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,15 @@ import { StandardScroller } from '../utils/SmoothScroller'
2424
import { Table, TableData, TableRow } from '../utils/Table'
2525
import ListInput from '../utils/ListInput'
2626
import { List } from '../utils/List'
27-
2827
import { Confirm } from '../utils/Confirm'
28+
import { DnsRecordFragment } from '../../generated/graphql'
2929

3030
import { DELETE_DOMAIN, DNS_DOMAINS, UPDATE_DOMAIN } from './queries'
3131
import { Actions } from './Actions'
3232
import { MoreMenu } from './MoreMenu'
3333
import { BindingInput } from './Typeaheads'
3434
import { sanitize } from './utils'
3535
import { DnsRecords } from './DnsRecords'
36-
import { DnsRecordFragment } from '../../generated/graphql'
3736

3837
function Header({ q, setQ }: any) {
3938
return (

0 commit comments

Comments
 (0)