Skip to content

Commit

Permalink
docs(examples-nextjs): 📝 update example
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideSegullo committed Nov 10, 2023
1 parent cba29c5 commit f7fde06
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions examples/nextjs/components/button.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
'use client';

import { bitsong, bitsongAssetList } from '@nabla-studio/chain-registry';
import { useConfig, useConnect } from '@quirks/react';
import { suggestChains } from '@quirks/store';

export const Button = () => {
const { wallets } = useConfig();
Expand All @@ -16,9 +14,6 @@ export const Button = () => {
<div key={wallet.options.name}>
<button
onClick={async () => {
await suggestChains(wallet.options.name, [
{ chain: bitsong, assetList: bitsongAssetList, name: 'bitsong' },
]);
await connect(wallet.options.name);
}}
>
Expand Down

0 comments on commit f7fde06

Please sign in to comment.