Skip to content

Commit

Permalink
add a log
Browse files Browse the repository at this point in the history
  • Loading branch information
bchu1 committed Sep 10, 2024
1 parent a941e97 commit bd7f9fa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion frontend/packages/data-portal/app/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
ScrollRestoration,
} from '@remix-run/react'
import { defaults } from 'lodash-es'
import { useContext } from 'react'
import { useContext, useEffect } from 'react'
import { useTranslation } from 'react-i18next'
import { useChangeLanguage } from 'remix-i18next'
import { typedjson, useTypedLoaderData } from 'remix-typedjson'
Expand Down Expand Up @@ -58,6 +58,9 @@ export function shouldRevalidate() {

const Document = withEmotionCache(
({ children, title }: DocumentProps, emotionCache) => {
useEffect(() => {
console.log(process.env.API_URL_V2)
})
const clientStyleData = useContext(ClientStyleContext)
const { ENV, locale } = useTypedLoaderData<typeof loader>()

Expand Down

0 comments on commit bd7f9fa

Please sign in to comment.