From f0025169cfc34c1fe70fd0987c54c20fce9c288e Mon Sep 17 00:00:00 2001 From: amiraabouhadid Date: Mon, 25 Nov 2024 19:50:11 +0200 Subject: [PATCH] use qrplaystore component in profile manager --- .../src/weblets/profile_manager.vue | 38 +++---------------- 1 file changed, 5 insertions(+), 33 deletions(-) diff --git a/packages/playground/src/weblets/profile_manager.vue b/packages/playground/src/weblets/profile_manager.vue index cef65de4da..b64dfe3d5f 100644 --- a/packages/playground/src/weblets/profile_manager.vue +++ b/packages/playground/src/weblets/profile_manager.vue @@ -385,26 +385,9 @@
-

- Scan the QR code using - ThreeFold Connect - to fund your account -

- -
- -
@@ -476,18 +459,7 @@ const emailRef = ref(); const emit = defineEmits<{ (event: "update:modelValue", value: boolean): void }>(); const bridge = (window as any).env.BRIDGE_TFT_ADDRESS; -const apps = [ - { - src: ``, - alt: "play-store", - url: "https://play.google.com/store/apps/details?id=org.jimber.threebotlogin&hl=en&gl=US", - }, - { - src: ``, - alt: "app-store", - url: "https://apps.apple.com/us/app/threefold-connect/id1459845885", - }, -]; + const online = useOnline(); const handleFocus = (elementRef: HTMLInputElement) => { elementRef.removeAttribute("readonly"); @@ -919,15 +891,15 @@ async function getEmail() { import { TwinNotExistError } from "@threefold/types"; import { capitalize } from "vue"; +import QRPlayStore from "@/components/qr_play_store.vue"; import { useKYC } from "@/stores/kyc"; import SSHKeysManagement from "@/utils/ssh"; -import QrcodeGenerator from "../components/qrcode_generator.vue"; import type { Profile } from "../stores/profile_manager"; export default { name: "ProfileManager", components: { - QrcodeGenerator, + QRPlayStore, }, };