Commit 898cdc3 dschlabach
committed
1 parent 571d996 commit 898cdc3 Copy full SHA for 898cdc3
File tree 1 file changed +0
-8
lines changed
playground/nextjs-app-router/components
1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,6 @@ import { NFTOptions } from './form/nft-options';
10
10
import { SwapConfig } from './form/swap-config' ;
11
11
import { TransactionOptions } from './form/transaction-options' ;
12
12
import { WalletType } from './form/wallet-type' ;
13
- import { useContext } from 'react' ;
14
- import { AppContext } from './AppProvider' ;
15
13
16
14
const COMMON_OPTIONS = [
17
15
ActiveComponent ,
@@ -69,12 +67,6 @@ export default function DemoOptions({
69
67
} : {
70
68
component ?: OnchainKitComponent ;
71
69
} ) {
72
- const { isInitialized } = useContext ( AppContext ) ;
73
-
74
- if ( ! isInitialized ) {
75
- // return null; // or a loading state
76
- }
77
-
78
70
const commonElements = COMMON_OPTIONS . map ( ( Component ) => (
79
71
< Component key = { Component . name } />
80
72
) ) ;
You can’t perform that action at this time.
0 commit comments