Skip to content

Commit 898cdc3

Browse files
author
dschlabach
committed
cleanup
1 parent 571d996 commit 898cdc3

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

playground/nextjs-app-router/components/DemoOptions.tsx

-8
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ import { NFTOptions } from './form/nft-options';
1010
import { SwapConfig } from './form/swap-config';
1111
import { TransactionOptions } from './form/transaction-options';
1212
import { WalletType } from './form/wallet-type';
13-
import { useContext } from 'react';
14-
import { AppContext } from './AppProvider';
1513

1614
const COMMON_OPTIONS = [
1715
ActiveComponent,
@@ -69,12 +67,6 @@ export default function DemoOptions({
6967
}: {
7068
component?: OnchainKitComponent;
7169
}) {
72-
const { isInitialized } = useContext(AppContext);
73-
74-
if (!isInitialized) {
75-
// return null; // or a loading state
76-
}
77-
7870
const commonElements = COMMON_OPTIONS.map((Component) => (
7971
<Component key={Component.name} />
8072
));

0 commit comments

Comments
 (0)