Skip to content

Commit 5d003e2

Browse files
clean up example
1 parent e468832 commit 5d003e2

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

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

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import { type Web3AuthContextConfig, Web3AuthProvider } from "@web3auth/modal/vu
1919
import { WalletServicesProvider } from "@web3auth/no-modal/vue";
2020
import { computed, onBeforeMount, ref, watch } from "vue";
2121
22-
import { AUTH_CONNECTION, type AUTH_CONNECTION_TYPE, BUILD_ENV } from "@web3auth/auth";
22+
import { type AUTH_CONNECTION_TYPE, BUILD_ENV } from "@web3auth/auth";
2323
import AppDashboard from "./components/AppDashboard.vue";
2424
import AppHeader from "./components/AppHeader.vue";
2525
import AppSettings from "./components/AppSettings.vue";
@@ -162,11 +162,7 @@ const modalParams = computed(() => {
162162
const modalConfig = {
163163
[WALLET_CONNECTORS.AUTH]: {
164164
label: "auth",
165-
loginMethods: {
166-
[AUTH_CONNECTION.EMAIL_PASSWORDLESS]: {
167-
authConnectionId: "custom-email-passwordless1",
168-
},
169-
}
165+
loginMethods: loginMethodsConfig.value,
170166
},
171167
};
172168
return modalConfig;

demo/vue-app-new/src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export const clientIds: Record<WEB3AUTH_NETWORK_TYPE, string> = {
2929
[WEB3AUTH_NETWORK.TESTNET]: "BHr_dKcxC0ecKn_2dZQmQeNdjPgWykMkcodEHkVvPMo71qzOV6SgtoN8KCvFdLN7bf34JOm89vWQMLFmSfIo84A",
3030
[WEB3AUTH_NETWORK.AQUA]: "BM34K7ZqV3QwbDt0lvJFCdr4DxS9gyn7XZ2wZUaaf0Ddr71nLjPCNNYtXuGWxxc4i7ivYdgQzFqKlIot4IWrWCE",
3131
[WEB3AUTH_NETWORK.CYAN]: "BEglQSgt4cUWcj6SKRdu5QkOXTsePmMcusG5EAoyjyOYKlVRjIF1iCNnMOTfpzCiunHRrMui8TIwQPXdkQ8Yxuk",
32-
[WEB3AUTH_NETWORK.SAPPHIRE_DEVNET]: "BKZDJP0ouZP0PtfQYssMiezINbUwnIthw6ClTtTICvh0MCRgAxi5GJbHKH9cjM6xyWxe73c6c94ASCTxbGNLUt8",
32+
[WEB3AUTH_NETWORK.SAPPHIRE_DEVNET]: "BHgArYmWwSeq21czpcarYh0EVq2WWOzflX-NTK-tY1-1pauPzHKRRLgpABkmYiIV_og9jAvoIxQ8L3Smrwe04Lw",
3333
[WEB3AUTH_NETWORK.SAPPHIRE_MAINNET]: "BPi5PB_UiIZ-cPz1GtV5i1I2iOSOHuimiXBI0e-Oe_u6X3oVAbCiAZOTEBtTXw4tsluTITPqA8zMsfxIKMjiqNQ",
3434
[WEB3AUTH_NETWORK.CELESTE]: "openlogin",
3535
};

0 commit comments

Comments
 (0)