Skip to content

Commit

Permalink
style: prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
Hsieh Chin Fan committed Oct 2, 2024
1 parent 6c72531 commit eaf7981
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BasicMaplibreRenderer.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ const Renderer = class extends defaultExport {

addTileData({ map, data }) {
const tileData = data.filter(d => d.type === "tile");
if (tileData.length == 0) return { state: "skip" };
if (tileData.length === 0) return { state: "skip" };

const style = map.getStyle();
tileData.forEach((datum, index) => {
Expand Down

0 comments on commit eaf7981

Please sign in to comment.