From ec23394e3a4c96026587ce3cfc091ce491f6ccca Mon Sep 17 00:00:00 2001 From: GobkaBOB Date: Tue, 24 Dec 2024 12:37:54 +0100 Subject: [PATCH] Remove duplicate import statements (#1462) * Update basenames-onchainkit-tutorial.md * Update basenames-tutorial.md --- apps/base-docs/docs/tools/basenames-onchainkit-tutorial.md | 2 -- apps/base-docs/docs/tools/basenames-tutorial.md | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/apps/base-docs/docs/tools/basenames-onchainkit-tutorial.md b/apps/base-docs/docs/tools/basenames-onchainkit-tutorial.md index 3bf6592..675e7eb 100644 --- a/apps/base-docs/docs/tools/basenames-onchainkit-tutorial.md +++ b/apps/base-docs/docs/tools/basenames-onchainkit-tutorial.md @@ -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'; diff --git a/apps/base-docs/docs/tools/basenames-tutorial.md b/apps/base-docs/docs/tools/basenames-tutorial.md index 83ac061..f2cead5 100644 --- a/apps/base-docs/docs/tools/basenames-tutorial.md +++ b/apps/base-docs/docs/tools/basenames-tutorial.md @@ -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';