diff --git a/app/items/ItemGrid.tsx b/app/items/ItemGrid.tsx index c783f97..a0163fd 100644 --- a/app/items/ItemGrid.tsx +++ b/app/items/ItemGrid.tsx @@ -5,6 +5,7 @@ import shared from '../../styles/shared.module.css'; import styles from '../../styles/Items.module.css'; import QuantityCard from '../../components/QuantityCard'; import { Item, ItemType, ITEM_TYPE_LABELS, getItemType, getItemIconUrl } from './types'; +import { randInRange } from '@/lib/utils'; type Props = { items: Item[]; diff --git a/app/items/OfferingGrid.tsx b/app/items/OfferingGrid.tsx index 514004a..72732eb 100644 --- a/app/items/OfferingGrid.tsx +++ b/app/items/OfferingGrid.tsx @@ -5,6 +5,7 @@ import shared from '../../styles/shared.module.css'; import styles from '../../styles/Items.module.css'; import QuantityCard from '../../components/QuantityCard'; import { Offering, OfferingRole, getOfferingIconUrl } from './types'; +import { randInRange } from '@/lib/utils'; type Props = { offerings: Offering[];