Skip to content

Commit

Permalink
fix: include contractId on Wallet instance
Browse files Browse the repository at this point in the history
  • Loading branch information
Pessina committed Oct 24, 2024
1 parent dd30f96 commit e5fb9b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { useState } from 'react';
import { CookiePrompt } from '@/components/CookiePrompt';
import { ResearchFormWizard } from '@/components/research-form-wizard/ResearchFormWizard';
import { NearContext, Wallet } from '@/components/wallet-selector/WalletSelector';
import { gleapSdkToken, networkId } from '@/config';
import { gleapSdkToken, networkId, signInContractId } from '@/config';
import { useBosLoaderInitializer } from '@/hooks/useBosLoaderInitializer';
import { useHashUrlBackwardsCompatibility } from '@/hooks/useHashUrlBackwardsCompatibility';
import { useCookieStore } from '@/stores/cookieData';
Expand All @@ -37,7 +37,7 @@ if (typeof window !== 'undefined') {
if (gleapSdkToken) Gleap.initialize(gleapSdkToken);
}

const wallet = new Wallet({ networkId: networkId });
const wallet = new Wallet({ networkId: networkId, createAccessKeyFor: signInContractId });
initPostHog();

export default function App({ Component, pageProps }: AppPropsWithLayout) {
Expand Down

0 comments on commit e5fb9b3

Please sign in to comment.