fixed build issues. its builds now

This commit is contained in:
2026-01-19 09:11:42 -05:00
parent b0db3167c5
commit 775a351425
17 changed files with 64 additions and 37 deletions
@@ -4,7 +4,7 @@ import { useEffect, useMemo, useState } from "react";
import Link from "next/link";
import { useParams, useRouter, useSearchParams } from "next/navigation";
import type { CategoryId } from "@/types/builderSlots";
import type { BuilderSlotKey } from "@/types/builderSlots";
import { PART_ROLE_TO_CATEGORY, normalizePartRole } from "@/lib/catalogMappings";
/**
@@ -46,7 +46,7 @@ type GunbuilderProductFromApi = {
offers?: OfferFromApi[] | null;
};
type BuildState = Partial<Record<CategoryId, string>>;
type BuildState = Partial<Record<BuilderSlotKey, string>>;
const API_BASE_URL =
process.env.NEXT_PUBLIC_API_BASE_URL ?? "http://localhost:8080";