Skip to content

Commit

Permalink
tweak: reduce diff, format
Browse files Browse the repository at this point in the history
  • Loading branch information
hannahpurcell committed Oct 1, 2024
1 parent e725c07 commit 7088904
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions assets/src/components/routeLadder.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,17 @@ import { LoadableTimepoints, Route, RouteId } from "../schedule.d"
import IncomingBox from "./incomingBox"
import Ladder from "./ladder"
import Loading from "./loading"
import Tippy from "@tippyjs/react"
import { tagManagerEvent } from "../helpers/googleTagManager"
import inTestGroup, { TestGroups } from "../userInTestGroup"
import { ExclamationTriangleFill, PlusSquare, ThreeDotsVertical } from "../helpers/bsIcons"
import {
ExclamationTriangleFill,
PlusSquare,
ThreeDotsVertical,
} from "../helpers/bsIcons"
import { RoutePill } from "./routePill"
import { Card, CloseButton, Dropdown } from "react-bootstrap"
import { joinClasses, joinTruthy } from "../helpers/dom"
import Tippy from "@tippyjs/react"
import { tagManagerEvent } from "../helpers/googleTagManager"

interface Props {
route: Route
Expand Down Expand Up @@ -71,7 +75,6 @@ export const Header = ({
>
{showDropdown && (
<Dropdown className="border-box inherit-box">
{/* This is the thing getting labeled!! */}
<Dropdown.Toggle
className="c-route-ladder__dropdown-button d-none d-sm-flex"
aria-labelledby={joinTruthy([
Expand Down Expand Up @@ -124,7 +127,10 @@ export const Header = ({
trigger="click"
onShow={() => tagManagerEvent("alert_tooltip_clicked")}
>
<div className="c-route-ladder__alert-icon" aria-label="Route Alert">
<div
className="c-route-ladder__alert-icon"
aria-label="Route Alert"
>
<ExclamationTriangleFill />
</div>
</Tippy>
Expand Down

0 comments on commit 7088904

Please sign in to comment.