fix: types

This commit is contained in:
Matt Kilgore
2024-09-02 20:29:32 -04:00
parent 184be32f3a
commit 229d4db996

View File

@@ -183,7 +183,7 @@
return route(`/qrcode`, { data: encodeURIComponent(data) });
}
function getItem(n: number, item: { value: { name: string; location: string } } | null): LabelData {
function getItem(n: number, item: { name: string; location: { name: string } } | null): LabelData {
// format n into - seperated string with leading zeros
const assetID = fmtAssetID(n);