Skip to content

Commit

Permalink
add some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasneirynck committed Apr 30, 2020
1 parent 54c875d commit 74551a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { Filter } from 'src/plugins/data/public';

import { RenderToolTipContent } from '../../layers/tooltips/tooltip_property';

const GisMap: React.ComponentType<{
declare const GisMap: React.ComponentType<{
addFilters: ((filters: Filter[]) => void) | null;
renderTooltipContent?: RenderToolTipContent;
}>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ function mapDispatchToProps(dispatch) {
}

const connectedGisMap = connect(mapStateToProps, mapDispatchToProps)(UnconnectedGisMap);
export { connectedGisMap as GisMap };
export default connectedGisMap;
export { connectedGisMap as GisMap }; // GisMap is pulled in by name by the Maps-app itself
export default connectedGisMap; //lazy-loading in the embeddable requires default export

0 comments on commit 74551a5

Please sign in to comment.