Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 1 addition & 11 deletions assets/ts/schedule/components/GreenLineScheduleLinks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const GreenLineScheduleLinks = ({
}): ReactElement<HTMLElement> | null => (
<>
<ExpandableBlock
header={{ text: "Weekday Schedule", iconSvgText: null }}
header={{ text: "Schedules", iconSvgText: null }}
initiallyExpanded={false}
id="weekday-hours"
>
Expand All @@ -36,16 +36,6 @@ const GreenLineScheduleLinks = ({
{pdfLink(pdfs[0])}
</div>
</ExpandableBlock>
<ExpandableBlock
header={{ text: "Weekend Schedule", iconSvgText: null }}
initiallyExpanded={false}
id="weekend-hours"
>
<div className="m-schedule-page__sidebar-hours">
{getGreenLineScheduleLinks()}
{pdfLink(pdfs[0])}
</div>
</ExpandableBlock>
</>
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ describe("HoursOfOperation", () => {
);

const headerButton = screen.getByRole("button", {
name: /Weekday Schedule/
name: /Schedules/
});
await user.click(headerButton);

Expand Down