We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1db3f75 commit 95219d2Copy full SHA for 95219d2
1 file changed
app/component/itinerary/LegInfo.js
@@ -4,7 +4,7 @@ import Link from 'found/Link';
4
import PropTypes from 'prop-types';
5
import { useIntl } from 'react-intl';
6
import Modal from '@hsl-fi/modal';
7
-import { legShape, configShape } from '../../util/shapes';
+import { legShape } from '../../util/shapes';
8
import { legTimeStr, isLocalCallAgency } from '../../util/legUtils';
9
import { getTripOrRouteMode } from '../../util/modeUtils';
10
import RouteNumber from '../RouteNumber';
@@ -211,7 +211,3 @@ LegInfo.defaultProps = {
211
isTransitLeg: false,
212
mobile: undefined,
213
};
214
-
215
-LegInfo.contextTypes = {
216
- config: configShape.isRequired,
217
-};
0 commit comments