Update two-factor-setup.tsx

This commit is contained in:
MacRimi
2025-11-07 21:02:20 +01:00
parent f064cc89ba
commit 5fd53883be

View File

@@ -6,7 +6,6 @@ import { Input } from "./ui/input"
import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle } from "./ui/dialog" import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle } from "./ui/dialog"
import { AlertCircle, CheckCircle, Copy, Shield, Check } from "lucide-react" import { AlertCircle, CheckCircle, Copy, Shield, Check } from "lucide-react"
import { getApiUrl } from "../lib/api-config" import { getApiUrl } from "../lib/api-config"
import Image from "next/image"
interface TwoFactorSetupProps { interface TwoFactorSetupProps {
open: boolean open: boolean
@@ -167,7 +166,7 @@ export function TwoFactorSetup({ open, onClose, onSuccess }: TwoFactorSetupProps
</p> </p>
{qrCode && ( {qrCode && (
<div className="flex justify-center p-4 bg-white rounded-lg"> <div className="flex justify-center p-4 bg-white rounded-lg">
<Image src={qrCode || "/placeholder.svg"} alt="QR Code" width={200} height={200} /> <img src={qrCode || "/placeholder.svg"} alt="QR Code" width={200} height={200} className="rounded" />
</div> </div>
)} )}
</div> </div>