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 ca9cb65 commit 88c93f0
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 @@ -53,9 +53,9 @@ export function AppRouter({
const { blockchains } = useMetaStore.use.meta();
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 88c93f0

Please sign in to comment.