This commit is contained in:
Timo Knuth
2026-04-16 20:27:09 +02:00
parent c1fa20a234
commit c3efe8ceb9
2 changed files with 2 additions and 1 deletions

View File

@@ -121,6 +121,7 @@ export default function BarcodeGeneratorClient() {
console.error('Download failed', err);
showToast('Download failed', 'error');
}
};
const copyBarcode = async () => {
if (!barcodeRef.current) return;

View File

@@ -44,11 +44,11 @@ const FRAME_OPTIONS = [
export default function EmailGenerator() {
const [formData, setFormData] = useState({
const [showPopup, setShowPopup] = useState(false);
email: '',
subject: '',
body: ''
});
const [showPopup, setShowPopup] = useState(false);
const [qrColor, setQrColor] = useState('#dc2626');
const [frameType, setFrameType] = useState('none');