FfQrCode -> MkQrCode

This commit is contained in:
Sal Rahman 2023-08-28 10:03:40 -07:00
parent 7d69a2ab9f
commit 3cf7f0543d
2 changed files with 2 additions and 4 deletions

View file

@ -20,8 +20,6 @@ import MkButton from "@/components/MkButton.vue";
import { i18n } from "@/i18n";
import QRCodeVue3 from "qrcode-vue3";
// const profileUrl = window.location.href;
const props = defineProps<{
qrCode: string
}>();

View file

@ -9,7 +9,7 @@ import MkPostFormDialog from "@/components/MkPostFormDialog.vue";
import MkWaitingDialog from "@/components/MkWaitingDialog.vue";
import MkToast from "@/components/MkToast.vue";
import MkDialog from "@/components/MkDialog.vue";
import FfQrCode from "@/components/FfQrCode.vue";
import MkQrCode from "@/components/MkQrCode.vue";
import { MenuItem } from "@/types/menu";
import { $i } from "@/account";
import { i18n } from "./i18n";
@ -930,7 +930,7 @@ export function post(props: Record<string, any> = {}) {
export async function displayQrCode(qrCode: string) {
(await new Promise<(() => void) | undefined>((resolve) => {
let dispose: (() => void) | undefined;
popup(FfQrCode, { qrCode }, {
popup(MkQrCode, { qrCode }, {
closed: () => {
resolve(dispose);
}