Skip to content

Commit

Permalink
uses named import wth d3plus-common
Browse files Browse the repository at this point in the history
  • Loading branch information
davelandry committed Feb 14, 2023
1 parent c949c00 commit 8af74c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/logiclayer/src/api/logiclayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const Sequelize = require("sequelize"),
axios = require("axios"),
d3Array = require("d3-array"),
d3Collection = require("d3-collection"),
d3plusCommon = require("d3plus-common"),
{isObject} = require("d3plus-common"),
findYears = require("../utils/findYears"),
multiSort = require("../utils/multiSort"),
path = require("path"),
Expand Down Expand Up @@ -444,7 +444,7 @@ module.exports = function(app) {
.then(substitutions[dimension].callback ? substitutions[dimension].callback : d => d)
.catch(() => []);

if (d3plusCommon.isObject(subIds) && subIds.id && subIds.level) {
if (isObject(subIds) && subIds.id && subIds.level) {
subLevel = subIds.level;
subIds = subIds.id;
}
Expand Down

0 comments on commit 8af74c2

Please sign in to comment.