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