Skip to content

Commit 8a4f19c

Browse files
fix: update location of focus trap import for point-popup
1 parent aa629af commit 8a4f19c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/components/map/point-popup.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { connect } from 'react-redux'
2-
import { FocusTrapWrapper } from '@opentripplanner/map-popup/lib'
2+
import { FocusTrapWrapper } from '@opentripplanner/building-blocks'
33
import { Popup } from '@opentripplanner/base-map'
44
import { Search } from '@styled-icons/fa-solid/Search'
55
import { useIntl, WrappedComponentProps } from 'react-intl'
@@ -82,7 +82,7 @@ function MapPopup({
8282
// Override inline style supplied by react-map-gl to accommodate long "plan a trip" translations.
8383
style={{ maxWidth: '260px', width: '260px' }}
8484
>
85-
<FocusTrapWrapper closePopup={clearMapPopupLocation} id="stop-popup">
85+
<FocusTrapWrapper closePopup={clearMapPopupLocation} id="point-popup">
8686
<PopupTitleWrapper>
8787
<PopupTitle>
8888
{typeof popupName === 'string' && popupName.split(',').length > 3

0 commit comments

Comments
 (0)