Skip to content

Commit 0dcae77

Browse files
committed
improve demo app
1 parent 499bcf6 commit 0dcae77

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,6 @@ const getExternalAdapterByName = (name: string): ConnectorFn[] => {
143143
switch (name) {
144144
case "coinbase":
145145
return [coinbaseConnector()];
146-
case "wallet-connect-v2":
147-
return [walletConnectV2Connector()];
148146
default:
149147
return [];
150148
}

demo/vue-app-new/src/components/AppSettings.vue

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,8 @@ const adapterOptions = computed(() =>
5252
formData.chainNamespaces.includes(CHAIN_NAMESPACES.EIP155)
5353
? [
5454
{ name: "coinbase-adapter", value: "coinbase" },
55-
{ name: "wallet-connect-v2-adapter", value: "wallet-connect-v2" },
56-
]
57-
: [
58-
{ name: "wallet-connect-v2-adapter", value: "wallet-connect-v2" },
5955
]
56+
: []
6057
);
6158
6259
const isDisplay = (_name: string): boolean => {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export const clientIds: Record<WEB3AUTH_NETWORK_TYPE, string> = {
3535

3636
export const initWhiteLabel: WhiteLabelData = {
3737
appName: "HelloDemo",
38-
appUrl: "http://localhost:8080",
38+
appUrl: window.location.origin,
3939
logoDark: "https://images.web3auth.io/example-hello.svg", // dark logo for light background
4040
logoLight: "https://images.web3auth.io/example-hello-light.svg", // light logo for dark background
4141
mode: "auto",

0 commit comments

Comments
 (0)