mirror of
https://github.com/placeholder-soft/web.git
synced 2026-01-12 17:02:57 +08:00
Remove duplicate import statements (#1462)
* Update basenames-onchainkit-tutorial.md * Update basenames-tutorial.md
This commit is contained in:
@@ -102,8 +102,6 @@ Ensure Chain is Set to Base Be sure to set the `chain={base}` parameter; otherwi
|
||||
```typescript title="src/components/basename.tsx"
|
||||
'use client';
|
||||
import React from 'react';
|
||||
'use client';
|
||||
import React from 'react';
|
||||
import { Avatar, Identity, Name, Address } from '@coinbase/onchainkit/identity';
|
||||
import { base } from 'viem/chains';
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@ To interact with the Base blockchain, you will need to update the wagmi configur
|
||||
|
||||
Update your wagmi.ts file as follows:
|
||||
|
||||
```typescript tile="wagmi.ts"
|
||||
```typescript title="wagmi.ts"
|
||||
'use client';
|
||||
|
||||
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
|
||||
|
||||
Reference in New Issue
Block a user