Skip to content

Commit

Permalink
perf(vm): leverage the vm's error callback to report on handled errors
Browse files Browse the repository at this point in the history
  • Loading branch information
charleslavon committed Feb 1, 2024
1 parent 759baeb commit 5e82268
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/vm/VmInitializer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import type { WalletSelectorModal } from '@near-wallet-selector/modal-ui';
import { setupModal } from '@near-wallet-selector/modal-ui';
import { setupMyNearWallet } from '@near-wallet-selector/my-near-wallet';
import { setupNearMobileWallet } from '@near-wallet-selector/near-mobile-wallet';
import { setupNearWallet } from '@near-wallet-selector/near-wallet';
import { setupNeth } from '@near-wallet-selector/neth';
import { setupNightly } from '@near-wallet-selector/nightly';
import { setupSender } from '@near-wallet-selector/sender';
Expand Down Expand Up @@ -68,6 +67,7 @@ export default function VmInitializer() {
initNear({
networkId,
walletConnectCallback: recordWalletConnect,
errorCallback: recordHandledError,
selector: setupWalletSelector({
network: networkId,
modules: [
Expand Down

0 comments on commit 5e82268

Please sign in to comment.