Skip to content

Commit

Permalink
chore: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
VictorVelarde committed Jul 9, 2020
1 parent ff306ae commit 269af53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
- Add `beforeLayerId` and `afterLayerId` options to `carto.viz.Layer.addTo` method, to customize layer position

### Changed
- Remove d3.format option from Popup
- Remove d3.format option from `carto.viz.Popup`

### Fixed
-
Expand Down
2 changes: 1 addition & 1 deletion src/lib/viz/popups/Popup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ function generatePopupContent(elements: any, features: Record<string, any>[]): s
elementValue = format(elementValue);
} else {
throw new CartoPopupError(
`Invalid popup format: '${format}' is not a funtion`,
`Invalid popup format: '${format}' is not a function`,
popupErrorTypes.FORMAT_INVALID
);
}
Expand Down

0 comments on commit 269af53

Please sign in to comment.