Skip to content

Commit

Permalink
Use named exports.
Browse files Browse the repository at this point in the history
  • Loading branch information
francois2metz committed Jun 11, 2024
1 parent 5585ddd commit 13b716b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/preview/geojson.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import lineToPolygon from '@turf/line-to-polygon';
import centerOfMass from '@turf/center-of-mass';
import { centerOfMass } from '@turf/center-of-mass';
import { poiClassAndSubclass } from './poi';

function levelToArray(level) {
Expand Down
2 changes: 1 addition & 1 deletion js/preview/imdf.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import JSZip from 'jszip';
import centerOfMass from '@turf/center-of-mass';
import { centerOfMass } from '@turf/center-of-mass';
import uniq from 'lodash.uniq';
import { poiClassAndSubclass } from './poi';

Expand Down

0 comments on commit 13b716b

Please sign in to comment.