Skip to content

Commit

Permalink
fix callbackUrl for bitte wallet (#535)
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenmarcus authored Sep 2, 2024
1 parent d310efc commit 0ab4956
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/sdk/src/execute/checkCallback.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ export const callbackSideCheck = (
let callbackFinal = callbackUrl;

if (currentEnv === 'client') {
const shouldGetFromMbjs = callbackUrl?.length < 1 || callbackUrl === undefined &&
window?.['mbjs']?.callbackUrl && window?.['mbjs']?.callbackUrl.length > 0;
const shouldGetFromMbjs = callbackUrl?.length < 1 || callbackUrl === undefined &&
window?.['mbjs']?.callbackUrl && window?.['mbjs']?.callbackUrl.length > 0;

if (wallet?.id == 'mintbase-wallet') {
if (wallet?.id == 'mintbase-wallet' || wallet?.id == 'bitte-wallet') {
if (callbackUrl?.length < 1 || callbackUrl === undefined) {
let mbjsCallbackUrl = '';

Expand Down

0 comments on commit 0ab4956

Please sign in to comment.