Skip to content

Commit

Permalink
fix: update location of focus trap import for point-popup
Browse files Browse the repository at this point in the history
  • Loading branch information
amy-corson-ibigroup committed Sep 16, 2024
1 parent aa629af commit 8a4f19c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/components/map/point-popup.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { connect } from 'react-redux'
import { FocusTrapWrapper } from '@opentripplanner/map-popup/lib'
import { FocusTrapWrapper } from '@opentripplanner/building-blocks'
import { Popup } from '@opentripplanner/base-map'
import { Search } from '@styled-icons/fa-solid/Search'
import { useIntl, WrappedComponentProps } from 'react-intl'
Expand Down Expand Up @@ -82,7 +82,7 @@ function MapPopup({
// Override inline style supplied by react-map-gl to accommodate long "plan a trip" translations.
style={{ maxWidth: '260px', width: '260px' }}
>
<FocusTrapWrapper closePopup={clearMapPopupLocation} id="stop-popup">
<FocusTrapWrapper closePopup={clearMapPopupLocation} id="point-popup">
<PopupTitleWrapper>
<PopupTitle>
{typeof popupName === 'string' && popupName.split(',').length > 3
Expand Down

0 comments on commit 8a4f19c

Please sign in to comment.