fixing hydration issue

This commit is contained in:
2026-01-08 06:02:12 -05:00
parent 1b348c3ee7
commit 72d8f559c9
4 changed files with 276 additions and 242 deletions
+17
View File
@@ -0,0 +1,17 @@
// /types/uiPart.ts
export type UiPart = {
id: string;
name: string;
brand: string;
caliber?: string | null;
platform: string;
partRole: string;
// allow nulls from API (dont coerce to 0)
price?: number | null;
imageUrl?: string;
buyUrl?: string;
buyShortUrl?: string;
inStock?: boolean | null;
};