Skip to content

Commit

Permalink
More linting
Browse files Browse the repository at this point in the history
  • Loading branch information
martinRenou committed Jun 20, 2024
1 parent b2ffff0 commit 0d01b87
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/base/src/mainview/mainview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export class MainView extends React.Component<IProps, IStates> {
}

switch (layer.type) {
case 'RasterLayer':
case 'RasterLayer': {
const sourceId = layer.parameters?.source;
const source = this.getSource<IRasterSource>(sourceId);

Expand Down Expand Up @@ -165,6 +165,7 @@ export class MainView extends React.Component<IProps, IStates> {
minzoom: source.minZoom || 0,
maxzoom: source.maxZoom || 24,
});
}
}
}
}
Expand Down

0 comments on commit 0d01b87

Please sign in to comment.