mirror of
https://github.com/fosrl/pangolin.git
synced 2025-12-11 18:38:15 +00:00
changed qrcode to react-qr-code
This commit is contained in:
@@ -57,7 +57,7 @@ import {
|
|||||||
BreadcrumbSeparator
|
BreadcrumbSeparator
|
||||||
} from "@app/components/ui/breadcrumb";
|
} from "@app/components/ui/breadcrumb";
|
||||||
import Link from "next/link";
|
import Link from "next/link";
|
||||||
import QRCode from "react-qr-code";
|
import { QRCodeCanvas } from "qrcode.react";
|
||||||
import QRContainer from "@app/components/QRContainer";
|
import QRContainer from "@app/components/QRContainer";
|
||||||
|
|
||||||
const createSiteFormSchema = z
|
const createSiteFormSchema = z
|
||||||
@@ -780,7 +780,7 @@ PersistentKeepalive = 5`;
|
|||||||
<div className="flex items-center gap-4">
|
<div className="flex items-center gap-4">
|
||||||
<CopyTextBox text={wgConfig} />
|
<CopyTextBox text={wgConfig} />
|
||||||
<QRContainer>
|
<QRContainer>
|
||||||
<QRCode
|
<QRCodeCanvas
|
||||||
value={wgConfig}
|
value={wgConfig}
|
||||||
size={168}
|
size={168}
|
||||||
className="mx-auto"
|
className="mx-auto"
|
||||||
|
|||||||
Reference in New Issue
Block a user