Skip to content

Commit c30972a

Browse files
committed
feat(critical facilities): prefix closeDetails handler function with handle
1 parent 31ec503 commit c30972a

File tree

1 file changed

+4
-4
lines changed
  • src/GeographicalFeatures/CriticalFacilities

1 file changed

+4
-4
lines changed

src/GeographicalFeatures/CriticalFacilities/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -399,12 +399,12 @@ class FeatureList extends Component {
399399

400400
/**
401401
* @function
402-
* @name closeDetails
402+
* @name handleCloseDetails
403403
* @description close feature details drawer
404404
* @version 0.1.0
405405
* @since 0.1.0
406406
*/
407-
closeDetails = () => {
407+
handleCloseDetails = () => {
408408
this.setState({ showDetails: false });
409409
};
410410

@@ -639,12 +639,12 @@ class FeatureList extends Component {
639639
<CriticalFacilityDetailsViewHeader
640640
name={get(feature, 'strings.name.en', 'N/A')}
641641
description={get(feature, 'strings.description.en', 'N/A')}
642-
onBack={this.closeDetails}
642+
onBack={this.handleCloseDetails}
643643
/>
644644
}
645645
placement="right"
646646
width="100%"
647-
onClose={this.closeDetails}
647+
onClose={this.handleCloseDetails}
648648
visible={showDetails}
649649
drawerStyle={{ overflow: 'hidden' }}
650650
headerStyle={{ padding: 0 }}

0 commit comments

Comments
 (0)