Skip to content

Commit

Permalink
apply review
Browse files Browse the repository at this point in the history
  • Loading branch information
stockiNail committed Feb 13, 2023
1 parent cf95747 commit f0ac2b8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/core/core.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ export function determineAxis(id, ...scaleOptions) {
if (idMatchesAxis(id)) {
return id;
}
for (let i = 0, n = scaleOptions.length; i < n; i++) {
const opts = scaleOptions[i];
for (const opts of scaleOptions) {
const axis = opts.axis
|| axisFromPosition(opts.position)
|| id.length > 1 && idMatchesAxis(id[0].toLowerCase());
Expand Down

0 comments on commit f0ac2b8

Please sign in to comment.