Skip to content

Commit

Permalink
fix non closing modal
Browse files Browse the repository at this point in the history
  • Loading branch information
RNR1 committed Jun 22, 2024
1 parent da6be59 commit 58c011b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/SelectedTap/SelectedTap.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ const SelectedTap = () => {
selectedPlace={selectedPlace}
infoCollapse={infoCollapseMobile}
setInfoCollapse={setInfoCollapseMobile}
isMobile={true}
isMobile
>
<SelectedTapHours
infoIsExpanded={infoIsExpanded}
Expand Down Expand Up @@ -219,7 +219,7 @@ const SelectedTap = () => {
infoCollapse={infoCollapseMobile}
setInfoCollapse={setInfoCollapseMobile}
isMobile={false}
closeModal={() => toggleInfoWindow(false)}
closeModal={() => handleToggleInfoWindow(false)}
>
<SelectedTapHours
infoIsExpanded={true}
Expand Down
3 changes: 1 addition & 2 deletions src/components/SelectedTapMobile/SelectedTapDetails.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ import BathroomIcon from '../icons/CircleBathroomIcon.svg';
import {
WATER_RESOURCE_TYPE,
FOOD_RESOURCE_TYPE,
FORAGE_RESOURCE_TYPE,
BATHROOM_RESOURCE_TYPE
FORAGE_RESOURCE_TYPE
} from '../../types/ResourceEntry';

function SelectedTapDetails(props) {
Expand Down

0 comments on commit 58c011b

Please sign in to comment.