Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup #59

Merged
merged 6 commits into from
May 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ import { KitWalletProvider } from '@0xsequence/kit-wallet'
import { QueryClient, QueryClientProvider } from '@tanstack/react-query'
import { WagmiProvider } from 'wagmi'

import { wagmiConfig, kitConfig } from './config'
import { wagmiConfig, kitConfig } from '../config'

const queryClient = new QueryClient()

export interface Web3ProviderProps {
export interface ProvidersProps {
children: React.ReactNode
}

export const Web3Provider = (props: Web3ProviderProps) => {
export const Providers = (props: ProvidersProps) => {
const { children } = props

return (
Expand Down
17 changes: 0 additions & 17 deletions examples/next/src/app/WalletOptions.tsx

This file was deleted.

2 changes: 1 addition & 1 deletion examples/next/src/app/components/Connected.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
useWriteContract
} from 'wagmi'

import { isDebugMode } from '../config'
import { isDebugMode } from '../../config'

import { Header } from './Header'

Expand Down
4 changes: 2 additions & 2 deletions examples/next/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Inter } from 'next/font/google'
import './globals.css'
import '@0xsequence/design-system/styles.css'

import { Web3Provider } from './Web3Provider'
import { Providers } from './Providers'

const inter = Inter({ subsets: ['latin'] })

Expand All @@ -23,7 +23,7 @@ export default function RootLayout({
<html lang="en">
<body className={inter.className}>
<ThemeProvider theme="dark">
<Web3Provider>{children}</Web3Provider>
<Providers>{children}</Providers>
</ThemeProvider>
</body>
</html>
Expand Down
File renamed without changes.
18 changes: 0 additions & 18 deletions examples/react-waas/.eslintrc.cjs

This file was deleted.

70 changes: 0 additions & 70 deletions examples/react-waas/CHANGELOG.md

This file was deleted.

1 change: 0 additions & 1 deletion examples/react-waas/README.md

This file was deleted.

13 changes: 0 additions & 13 deletions examples/react-waas/index.html

This file was deleted.

35 changes: 0 additions & 35 deletions examples/react-waas/package.json

This file was deleted.

59 changes: 0 additions & 59 deletions examples/react-waas/src/App.css

This file was deleted.

Loading