Skip to content

Commit

Permalink
fix(config): Remove entity config error kalkih#592 (kalkih#593)
Browse files Browse the repository at this point in the history
  • Loading branch information
kalkih authored and jlsjonas committed Jan 22, 2022
1 parent 51a750d commit 53d923a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/buildConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ const computeThresholds = (stops, type) => {
};

export default (config) => {
if (config.entity)
throw new Error(`The "entity" option was removed, please use "entities".\n See ${URL_DOCS}`);
if (!Array.isArray(config.entities))
throw new Error(`Please provide the "entities" option as a list.\n See ${URL_DOCS}`);
if (config.line_color_above || config.line_color_below)
Expand Down

0 comments on commit 53d923a

Please sign in to comment.