diff --git a/common/components/notices/BetaSlowZoneDataNotice.tsx b/common/components/notices/BetaSlowZoneDataNotice.tsx index 83e2b2ee..0f3fa01d 100644 --- a/common/components/notices/BetaSlowZoneDataNotice.tsx +++ b/common/components/notices/BetaSlowZoneDataNotice.tsx @@ -1,7 +1,14 @@ import { ExclamationTriangleIcon } from '@heroicons/react/20/solid'; import React from 'react'; +import { useDelimitatedRoute } from '../../utils/router'; export const BetaSlowZoneDataNotice: React.FC = () => { + const { line } = useDelimitatedRoute(); + + if (line !== 'line-green') { + return null; + } + return (