Skip to content

Commit

Permalink
Merge pull request #1082 from DTS-STN/HotFix-Breadcrumbs
Browse files Browse the repository at this point in the history
219885 - Hot Fix - Breadcrumbs
  • Loading branch information
numbap authored Jun 13, 2024
2 parents 50f9b3e + 9987eb7 commit 2bedcf2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion components/Layout/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ export const Layout: React.VFC<{
const router = useRouter()
const hostname = typeof window !== 'undefined' ? window.location.hostname : ''
const [prodEnv, setProdEnv] = useState(null)
const isProduction = process.env.NEXT_PUBLIC_ENV === 'production'
const isProduction = process.env.APP_ENV === 'production'

console.log(hostname, isProduction)

useEffect(() => {
if (isProduction) {
Expand Down

0 comments on commit 2bedcf2

Please sign in to comment.