Skip to content

Commit

Permalink
feat(ui): update packages and improve UX/UI
Browse files Browse the repository at this point in the history
  • Loading branch information
matiasbenary committed Dec 21, 2024
1 parent 8ab6f88 commit 6b410bf
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions frontend/src/pages/_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ import { Wallet } from '@/wallets/near';
import { NetworkId, CoinFlipContract } from '@/config';

// Wallet instance
// const wallet = new Wallet({ networkId: NetworkId });
const wallet = new Wallet({ networkId: NetworkId });

// Optional: Create an access key so the user does not need to sign transactions. Read more about access keys here: https://docs.near.org/concepts/protocol/access-keys
const wallet = new Wallet({
createAccessKeyFor: CoinFlipContract,
networkId: NetworkId,
});
// const wallet = new Wallet({
// createAccessKeyFor: CoinFlipContract,
// networkId: NetworkId,
// });


export default function MyApp({ Component, pageProps }) {
Expand Down

0 comments on commit 6b410bf

Please sign in to comment.