Skip to content

Commit

Permalink
Merge branch 'main' into mattapan-trolley
Browse files Browse the repository at this point in the history
  • Loading branch information
devinmatte authored Jan 25, 2025
2 parents 0a56c8c + 4974cbd commit 6f735eb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions common/components/notices/BetaSlowZoneDataNotice.tsx
Original file line number Diff line number Diff line change
@@ -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 (
<div className="rounded-md bg-yellow-50 p-4">
<div className="flex">
Expand Down

0 comments on commit 6f735eb

Please sign in to comment.