Skip to content

Commit

Permalink
fix: comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mikasackermn committed Nov 18, 2023
1 parent 09e0d06 commit a220e96
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions widget/embedded/src/components/AppRouter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ export function AppRouter({
const blockchains = useAppStore().blockchains();
const { canSwitchNetworkTo } = useWallets();
const { loadingStatus } = useMetaStore();
const referrerWalletType = new URLSearchParams(location.search).get(
SearchParams.REFERRER
);
const referrerWalletType =
new URLSearchParams(location.search).get(SearchParams.REFERRER) ||
undefined;
useForceAutoConnect({
walletType: referrerWalletType,
loadingStatus,
Expand Down

0 comments on commit a220e96

Please sign in to comment.