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 4ef213f commit 16ff1a1Copy full SHA for 16ff1a1
src/components/Hero/index.tsx
@@ -3,7 +3,8 @@ import Container from '@/components/Container'
3
import EmergencyForm from '@/components/EmergencyForm'
4
5
const HeroSection: React.FC = () => {
6
- const showEmergencyForm = !process.env.NEXT_PUBLIC_ENVIRONMENT
+ const environment = process.env.NEXT_PUBLIC_ENVIRONMENT
7
+ const showEmergencyForm = !environment || environment === 'test'
8
9
return (
10
<section className="w-full bg-green py-5 lg:px-5">
0 commit comments