Skip to content

Commit 45e1d66

Browse files
committed
lint fix
1 parent ab958ee commit 45e1d66

File tree

9 files changed

+11
-8
lines changed

9 files changed

+11
-8
lines changed

website/pages/[locale]/[...404].tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { Link } from '@edgeandnode/gds'
21
import type { GetStaticPaths, GetStaticProps, NextPage } from 'next'
32

3+
import { Link } from '@edgeandnode/gds'
44
import { NotFound, Spacing } from '@edgeandnode/gds'
55

66
import { supportedLocales, useI18n } from '@/i18n'

website/pages/_app.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { DocSearch } from '@/src/nextra-theme/components'
21
import mixpanel from 'mixpanel-browser'
32
import type { AppProps } from 'next/app'
43
import NextLink from 'next/link'
@@ -18,6 +17,7 @@ import {
1817
import { CookieBanner, GlobalFooter, GlobalHeader } from '@edgeandnode/go'
1918

2019
import { supportedLocales, translations, useI18n } from '@/i18n'
20+
import { DocSearch } from '@/src/nextra-theme/components'
2121

2222
import '@edgeandnode/gds/style.css'
2323
import '@docsearch/css'

website/src/IndexPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import { Image } from '@/src/nextra-theme/components'
21
import { useData } from 'nextra/hooks'
32

43
import { BorderRadius, buildBorder, buildTransition, Flex, Link, Spacing, Text } from '@edgeandnode/gds'
54
import { NetworkIcon } from '@edgeandnode/go'
65

76
import { useI18n } from '@/i18n'
7+
import { Image } from '@/src/nextra-theme/components'
88

99
import { getSupportedNetworks } from './supportedNetworks'
1010

website/src/contracts.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
import ContractAddresses from '@graphprotocol/contracts/addresses.json'
2-
import { Table } from '@/src/nextra-theme/components'
32

43
import { getAddressLink } from '@edgeandnode/common'
54
import { Link } from '@edgeandnode/gds'
65

6+
import { Table } from '@/src/nextra-theme/components'
7+
78
type ValueOf<T> = T[keyof T]
89
const contractsByNetworkId = ContractAddresses as Record<string, ValueOf<typeof ContractAddresses>>
910

website/src/nextra-theme/components/Heading.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { type ElementType, useContext } from 'react'
33
import { useInView } from 'react-intersection-observer'
44
import { useDebounce } from 'react-use'
55

6-
import { buildTransition, Opacity, Spacing, Text, type TextProps, useI18n, Link } from '@edgeandnode/gds'
6+
import { buildTransition, Link, Opacity, Spacing, Text, type TextProps, useI18n } from '@edgeandnode/gds'
77

88
import { DocumentContext } from '../layout'
99

website/src/nextra-theme/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { type ReactElement, useCallback, useContext, useMemo } from 'react'
88
import { useSet } from 'react-use'
99
import type { ThemeUICSSObject } from 'theme-ui'
1010

11-
import { Code, Divider, type DividerProps, Flex, Spacing, Link, List } from '@edgeandnode/gds'
11+
import { Code, Divider, type DividerProps, Flex, Link, List, Spacing } from '@edgeandnode/gds'
1212

1313
import {
1414
Callout,

website/src/nextra-theme/layout/MDXLayoutNav.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import { Fragment, type PropsWithChildren, useContext, useEffect, useState } fro
66
import { BorderRadius, buildTransition, Flex, Icon, Spacing, Text, useI18n } from '@edgeandnode/gds'
77

88
import { NavTree } from '../components'
9+
910
import { NavContext } from './NavContext'
1011

1112
const animationExpand = keyframes({

website/src/nextra-theme/layout/MDXLayoutOutline.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { useContext, useEffect, useMemo, useState } from 'react'
55
import { buildTransition, Divider, Link, Spacing, Text, useI18n } from '@edgeandnode/gds'
66

77
import { EditPageLink } from '../components'
8+
89
import { DocumentContext } from './DocumentContext'
910

1011
export const MDXLayoutOutline = ({ toc: headings }: { toc: Heading[] }) => {

website/src/supportedNetworks.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
import { Table } from '@/src/nextra-theme/components'
2-
import { Code } from '@edgeandnode/gds'
31
import type { ExecutionResult } from 'graphql'
42

53
import { ChainProductStatus, SupportedNetworkMap } from '@edgeandnode/common'
4+
import { Code } from '@edgeandnode/gds'
65

76
import { execute, SupportedNetworksDocument, type SupportedNetworksQuery } from '@/.graphclient'
87
import { useI18n } from '@/i18n'
8+
import { Table } from '@/src/nextra-theme/components'
99

1010
export async function getSupportedNetworks() {
1111
// Get the IDs of the networks that are fully supported (as opposed to supported only by the upgrade indexer) using the EBO subgraph

0 commit comments

Comments
 (0)