Skip to content

Commit

Permalink
docs(examples-nextjs): 📝 update next example
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideSegullo committed Jan 3, 2024
1 parent 15a8311 commit 9361b3c
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions examples/nextjs/components/provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import { osmosis, osmosisAssetList } from '@nabla-studio/chain-registry';
import { QuirksConfig, QuirksNextProvider } from '@quirks/react';
import { type Config, ssrPersistOptions } from '@quirks/store';
import { type Config } from '@quirks/store';
import {
xdefiExtension,
keplrExtension,
Expand All @@ -22,7 +22,6 @@ const config: Config = {
],
chains: [osmosis /* bitsong */],
assetsLists: [osmosisAssetList /* bitsongAssetList */],
persistOptions: ssrPersistOptions,
walletConnectOptions: {
providerOpts: {
logger: 'info',
Expand All @@ -39,8 +38,8 @@ const config: Config = {

export const Provider = ({ children }: PropsWithChildren<unknown>) => {
return (
<QuirksConfig config={config}>
<QuirksNextProvider>{children}</QuirksNextProvider>
</QuirksConfig>
<QuirksNextProvider>
<QuirksConfig config={config}>{children}</QuirksConfig>
</QuirksNextProvider>
);
};

0 comments on commit 9361b3c

Please sign in to comment.