the cleanup

This commit is contained in:
2026-01-23 21:40:16 -05:00
parent 2ea1f19863
commit c4f69c0811
44 changed files with 183 additions and 42 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ type GunbuilderProductFromApi = {
};
const API_BASE_URL =
process.env.NEXT_PUBLIC_API_BASE_URL ?? "http://localhost:8080";
process.env.NEXT_PUBLIC_API_BASE_URL ?? "";
const PAGE_SIZE = 24;
+1 -1
View File
@@ -5,7 +5,7 @@ import Link from "next/link";
import PlatformSwitcher from "./PlatformSwitcher";
import Image from "next/image";
const API_BASE_URL = process.env.NEXT_PUBLIC_API_BASE_URL ?? "http://localhost:8080";
const API_BASE_URL = process.env.NEXT_PUBLIC_API_BASE_URL ?? "";
type ProductListDto = {
id: string; // your API returns strings sometimes; keep it flexible
+1 -1
View File
@@ -4,7 +4,7 @@ import { useEffect, useMemo, useState } from "react";
import Link from "next/link";
import PlatformSwitcher from "./PlatformSwitcher";
const API_BASE_URL = process.env.NEXT_PUBLIC_API_BASE_URL ?? "http://localhost:8080";
const API_BASE_URL = process.env.NEXT_PUBLIC_API_BASE_URL ?? "";
type ProductDetailDto = {
id: string;