|
|
@@ -42,9 +42,7 @@ export interface BomScoreResult { |
|
|
baseScore: number | string | { value?: number; [key: string]: any }; |
|
|
baseScore: number | string | { value?: number; [key: string]: any }; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
export const preloadBomCombo = () => { |
|
|
|
|
|
fetchBomCombo(); |
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const fetchBomCombo = cache(async () => { |
|
|
export const fetchBomCombo = cache(async () => { |
|
|
return serverFetchJson<BomCombo[]>(`${BASE_API_URL}/bom/combo`, { |
|
|
return serverFetchJson<BomCombo[]>(`${BASE_API_URL}/bom/combo`, { |
|
|
|