feat(qr-stands): set qr-4 as exclusive vector stand template

This commit is contained in:
AyrisAI
2026-08-20 23:25:19 +03:00
parent 4ce6505a4d
commit a0cb04b2c6
15 changed files with 243 additions and 105 deletions
+2 -2
View File
@@ -33,7 +33,7 @@ export default function QrScreen() {
const [loading, setLoading] = useState(true);
const [error, setError] = useState<string | null>(null);
const [copied, setCopied] = useState(false);
const [selectedKey, setSelectedKey] = useState<string>("urban");
const [selectedKey, setSelectedKey] = useState<string>("qr-4");
const [categories, setCategories] = useState<string[]>([]);
const [exportingPng, setExportingPng] = useState(false);
const [exportingPdf, setExportingPdf] = useState(false);
@@ -41,7 +41,7 @@ export default function QrScreen() {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const viewShotRef = useRef<any>(null);
const activePreset: QrStandPreset = (QR_STAND_PRESETS[selectedKey] || QR_STAND_PRESETS.urban)!;
const activePreset: QrStandPreset = (QR_STAND_PRESETS[selectedKey] || Object.values(QR_STAND_PRESETS)[0])!;
useEffect(() => {
(async () => {