Skip to content

Commit ac28652

Browse files
fix: check authOptions and walletService config for logos
1 parent 770692c commit ac28652

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

demo/vue-app-new/src/MainView.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ const options = computed((): Web3AuthOptions => {
6363
6464
// Wallet services settings
6565
let walletServicesConfig: Web3AuthOptions["walletServicesConfig"] = {
66-
walletUrls: {
67-
production: {
68-
url: "http://localhost:4050",
69-
},
70-
},
66+
// walletUrls: {
67+
// production: {
68+
// url: "http://localhost:4050",
69+
// },
70+
// },
7171
};
7272
if (formData.walletPlugin.enable) {
7373
const { confirmationStrategy } = formData.walletPlugin;

packages/no-modal/src/connectors/auth-connector/authConnector.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,8 @@ class AuthConnector extends BaseConnector<AuthLoginParams> {
146146
const wsEmbedWhiteLabel = {
147147
...this.authOptions.whiteLabel,
148148
...this.wsSettings.whiteLabel,
149+
logoLight: this.wsSettings.whiteLabel?.logoLight || this.authOptions.whiteLabel?.logoLight || "",
150+
logoDark: this.wsSettings.whiteLabel?.logoDark || this.authOptions.whiteLabel?.logoDark || "",
149151
};
150152
this.wsEmbedInstancePromise = this.wsEmbedInstance
151153
.init({

0 commit comments

Comments
 (0)