Skip to content

Commit

Permalink
fix(printable-itinerary): move bad reference to core utils
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-heppner-ibigroup committed Jun 27, 2023
1 parent ea15457 commit 0571776
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 20 deletions.
4 changes: 2 additions & 2 deletions packages/printable-itinerary/src/tnc-leg.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ import { Defaults, parseOTP2Minute } from "@opentripplanner/itinerary-body";
import { GradationMap, Leg, LegIconComponent } from "@opentripplanner/types";
import React, { ReactElement } from "react";
import { FormattedMessage } from "react-intl";

import { getCompanyForNetwork } from "@opentripplanner/core-utils/lib/itinerary";
import coreUtils from "@opentripplanner/core-utils";

import AccessibilityAnnotation from "./accessibility-annotation";
import * as S from "./styled";

import { defaultMessages, strongText } from "./util";

const { getCompanyForNetwork } = coreUtils.itinerary;
interface Props {
accessibilityScoreGradationMap?: GradationMap;
leg: Leg;
Expand Down
18 changes: 0 additions & 18 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3351,24 +3351,6 @@
react-resize-detector "^4.2.1"
string-similarity "^4.0.4"

"@opentripplanner/itinerary-body@^4.2.0-alpha.3":
version "4.2.0-alpha.3"
resolved "https://registry.yarnpkg.com/@opentripplanner/itinerary-body/-/itinerary-body-4.2.0-alpha.3.tgz#af03aba0ea48086090fe2a0d8f31b4932f0a10e5"
integrity sha512-dsZiO14SYkBxnVx7zwhjdzQwv+6r1CV/6K1qQGYfAPVLNpaABdbW42iO1voFrgqN+aWga1D+zOHRCdtq2BnGfQ==
dependencies:
"@opentripplanner/core-utils" "^8.2.1"
"@opentripplanner/humanize-distance" "^1.2.0"
"@opentripplanner/icons" "^2.0.1"
"@opentripplanner/location-icon" "^1.4.1"
"@styled-icons/fa-solid" "^10.34.0"
"@styled-icons/foundation" "^10.34.0"
date-fns "^2.28.0"
date-fns-tz "^1.2.2"
flat "^5.0.2"
react-animate-height "^3.0.4"
react-resize-detector "^4.2.1"
string-similarity "^4.0.4"

"@opentripplanner/types@6.0.0-alpha.4":
version "6.0.0-alpha.4"
resolved "https://registry.yarnpkg.com/@opentripplanner/types/-/types-6.0.0-alpha.4.tgz#dee3c06675e30c596159d182ed707e7710cd937c"
Expand Down

0 comments on commit 0571776

Please sign in to comment.