diff --git a/app/__tests__/components/ActivityFeed.test.tsx b/app/__tests__/components/ActivityFeed.test.tsx index a8f33e3..b606581 100644 --- a/app/__tests__/components/ActivityFeed.test.tsx +++ b/app/__tests__/components/ActivityFeed.test.tsx @@ -58,7 +58,7 @@ describe('ActivityFeed NaN Handling', () => { }); it('should convert gaming.name to string safely', () => { - const validName = String('Test Game' || ''); + const validName = String('Test Game'); expect(validName).toBe('Test Game'); expect(typeof validName).toBe('string'); diff --git a/next.config.ts b/next.config.ts index 251413f..2e49e52 100644 --- a/next.config.ts +++ b/next.config.ts @@ -36,7 +36,7 @@ const nextConfig: NextConfig = { optimizePackageImports: ["lucide-react", "framer-motion", "react-icons", "@tiptap/react"], // Merge all CSS into a single chunk to eliminate the render-blocking CSS chain // (84dc7384.css → 3aefc04b.css sequential dependency reported by PageSpeed). - cssChunking: "loose", + cssChunking: false, // Note: optimizeCss (critters) is intentionally disabled — it converts the main // to a JS-deferred preload, which PageSpeed reads as a // sequential CSS chain and reports 410ms of render-blocking.