Skip to content

Commit

Permalink
chore: apply linting after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
rkalis committed Dec 9, 2024
1 parent 6cf4b7c commit 7ae722d
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import AddressSearchBox from 'components/common/AddressSearchBox';
import Button from 'components/common/Button';
import { useCsrRouter } from 'lib/i18n/csr-navigation';
import { NextPage } from 'next';
import type { NextPage } from 'next';
import { useTranslations } from 'next-intl';
import { useRef, useState } from 'react';
import { twMerge } from 'tailwind-merge';
Expand Down
2 changes: 1 addition & 1 deletion components/common/MarkdownProse.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Image from 'next/image';
import ReactMarkdown, { Components } from 'react-markdown';
import ReactMarkdown, { type Components } from 'react-markdown';
import { PrismLight as SyntaxHighlighter } from 'react-syntax-highlighter';
import javascript from 'react-syntax-highlighter/dist/esm/languages/prism/javascript';
import { dracula } from 'react-syntax-highlighter/dist/esm/styles/prism';
Expand Down
4 changes: 2 additions & 2 deletions components/common/select/Select.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
'use client';

import { useColorTheme } from 'lib/hooks/useColorTheme';
import { Ref } from 'react';
import ReactSelect, { GroupBase, Props as ReactSelectProps, SelectInstance } from 'react-select';
import type { Ref } from 'react';
import ReactSelect, { type GroupBase, type Props as ReactSelectProps, type SelectInstance } from 'react-select';
import { twMerge } from 'tailwind-merge';

export interface Props<O, I extends boolean, G extends GroupBase<O>> extends Omit<ReactSelectProps<O, I, G>, 'theme'> {
Expand Down
2 changes: 1 addition & 1 deletion components/footer/LanguageSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import Logo from 'components/common/Logo';
import Select from 'components/common/select/Select';
import { Locale } from 'lib/i18n/config';
import type { Locale } from 'lib/i18n/config';
import { useCsrRouter } from 'lib/i18n/csr-navigation';
import { usePathname } from 'lib/i18n/navigation';
import { track } from 'lib/utils/analytics';
Expand Down
4 changes: 2 additions & 2 deletions lib/hooks/ethereum/EthereumProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import { useCsrRouter } from 'lib/i18n/csr-navigation';
import { usePathname } from 'lib/i18n/navigation';
import { createViemPublicClientForChain, getViemChainConfig, ORDERED_CHAINS } from 'lib/utils/chains';
import { ReactNode, useEffect } from 'react';
import { Chain } from 'viem';
import { type ReactNode, useEffect } from 'react';
import type { Chain } from 'viem';
import { createConfig, useAccount, useConnect, WagmiProvider } from 'wagmi';
import { coinbaseWallet, injected, safe, walletConnect } from 'wagmi/connectors';

Expand Down
8 changes: 4 additions & 4 deletions lib/i18n/csr-navigation.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
'use client';

import { Nullable } from 'lib/interfaces';
import { ReadonlyURLSearchParams, useSearchParams } from 'next/navigation';
import type { Nullable } from 'lib/interfaces';
import { type ReadonlyURLSearchParams, useSearchParams } from 'next/navigation';
import nProgress from 'nprogress';
import { ComponentProps, ForwardedRef, forwardRef } from 'react';
import { UrlObject } from 'url';
import { type ComponentProps, type ForwardedRef, forwardRef } from 'react';
import type { UrlObject } from 'url';
import { Link, useRouter } from './navigation';

const getHrefRetainingCurrentSearchParams = (
Expand Down

0 comments on commit 7ae722d

Please sign in to comment.