diff --git a/app/root.tsx b/app/root.tsx index 1a8781e..9fb59fe 100644 --- a/app/root.tsx +++ b/app/root.tsx @@ -70,7 +70,9 @@ export async function loader({ request }: LoaderArgs) { console.error('root loader error', e) } } - console.log('process.env', process.env) + if (!process.env) { + console.error('process.env is undefined') + } return json({ env: { BASE_URL: process.env.BASE_URL, diff --git a/app/routes/infinite.tsx b/app/routes/infinite.tsx index 8ce476c..b26abcb 100644 --- a/app/routes/infinite.tsx +++ b/app/routes/infinite.tsx @@ -132,6 +132,7 @@ export async function loader({ request, params }: LoaderArgs): Promise()