diff --git a/apps/nextjs/next.config.js b/apps/nextjs/next.config.js index 630b2b4..2f7b765 100644 --- a/apps/nextjs/next.config.js +++ b/apps/nextjs/next.config.js @@ -7,6 +7,11 @@ createJiti(fileURLToPath(import.meta.url))("./src/env"); /** @type {import("next").NextConfig} */ const config = { reactStrictMode: true, + compiler: { + removeConsole: { + exclude: ["error"], + }, + }, images: { remotePatterns: [ { diff --git a/apps/nextjs/src/app/(dashboard)/project/[id]/(root)/_components/sidebar.tsx b/apps/nextjs/src/app/(dashboard)/project/[id]/(root)/_components/sidebar.tsx index e898e5b..703e503 100644 --- a/apps/nextjs/src/app/(dashboard)/project/[id]/(root)/_components/sidebar.tsx +++ b/apps/nextjs/src/app/(dashboard)/project/[id]/(root)/_components/sidebar.tsx @@ -10,7 +10,6 @@ import { Tooltip, TooltipContent, TooltipTrigger } from "@amaxa/ui/tooltip"; export const Sidebar = memo(({ id, name }: { id: string; name: string }) => { const pathname = usePathname(); - console.log(pathname); return (