@latticexyz/entrykit 2.2.23-326669324dec7d19a4847159685b139ea9773ccb → 2.2.23-4cbda5e6fa1d972d609a2d497e14fc84089b4e0c

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -582,7 +582,6 @@ function ConnectWallet() {
582
582
  function AccountButton({ connector }) {
583
583
  const { setOpen } = useModal();
584
584
  const { connect, isPending, error: error2 } = useConnect();
585
- const { chainId } = useEntryKitConfig();
586
585
  if (error2) {
587
586
  console.error("connect error", error2);
588
587
  }
@@ -593,14 +592,7 @@ function AccountButton({ connector }) {
593
592
  variant: "secondary",
594
593
  className: "self-auto flex justify-center",
595
594
  pending: isPending,
596
- onClick: () => connect({
597
- connector,
598
- // need to provide both `chainId` and `capabilities` to the
599
- // Porto connector so a fresh browser instance reusing a synced passkey
600
- // can be bound to the correct chain ID for the account
601
- chainId,
602
- capabilities: {}
603
- }),
595
+ onClick: () => connect({ connector }),
604
596
  autoFocus: true,
605
597
  children: "Sign in"
606
598
  },