Skip to content

Commit

Permalink
chore: fixed eslint file and imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Onizuka-wl committed Sep 30, 2024
1 parent bb1b98c commit e87a307
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
5 changes: 1 addition & 4 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,17 @@ export default [
},
...fixupConfigRules(
compat.extends(
'prettier',
'eslint:recommended',
'plugin:react/recommended',
'plugin:jsx-a11y/recommended',
'plugin:@typescript-eslint/recommended',
'plugin:import/typescript',
'plugin:react/jsx-runtime',
'plugin:react-hooks/recommended',
'plugin:prettier/recommended',
'plugin:@next/next/recommended',
),
),
{
files: ['**/*.ts', '**/*.tsx', '**/*.js', '**/*.jsx', '**/*.mjs', '**/*.cjs'],
files: ['**/*.{js,mjs,cjs,jsx,ts,tsx}'],
plugins: {
'react-refresh': reactRefresh,
import: fixupPluginRules(importPlugin),
Expand Down
7 changes: 3 additions & 4 deletions src/providers/WalletProvider.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
import type { ReactNode } from 'react';

import '@rainbow-me/rainbowkit/styles.css';
import { RainbowKitProvider, darkTheme } from '@rainbow-me/rainbowkit';
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
import { WagmiProvider } from 'wagmi';

import { config } from '../utils';

import '@rainbow-me/rainbowkit/styles.css';

type Props = {
children: ReactNode;
children: React.ReactNode;
};

const queryClient = new QueryClient();
Expand Down

0 comments on commit e87a307

Please sign in to comment.