We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9270f3 commit 4c72a8aCopy full SHA for 4c72a8a
app/routes/_index.tsx
@@ -15,10 +15,9 @@ import {
15
import { OrderTabs } from '~/components/OrderTabs';
16
17
export const loader = async ({ context }: LoaderFunctionArgs) => {
18
- console.log('CONTEXT', context);
19
return json({
20
// eslint-disable-next-line @typescript-eslint/no-explicit-any
21
- useAdvancedCharts: (context.env as any).cloudflare.USE_ADVANCED_CHARTS === 'true' ? true : false
+ useAdvancedCharts: (context.cloudflare as any).env.USE_ADVANCED_CHARTS === 'true' ? true : false
22
});
23
};
24
0 commit comments