Skip to content

Commit cc6a173

Browse files
committed
chore: apply pre-commit formatting
1 parent 6e12b3b commit cc6a173

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • superset-frontend/plugins/legacy-preset-chart-deckgl/src/layers/Contour

superset-frontend/plugins/legacy-preset-chart-deckgl/src/layers/Contour/Contour.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,7 @@ export const getLayer: GetLayerType<ContourLayer> = function ({
176176
const viewport = fd.viewport;
177177
if (viewport?.width && viewport?.height) {
178178
const estimatedCells =
179-
(viewport.width / safeCellSize) *
180-
(viewport.height / safeCellSize);
179+
(viewport.width / safeCellSize) * (viewport.height / safeCellSize);
181180

182181
if (estimatedCells > MAX_GRID_CELLS) {
183182
const scaleFactor = Math.sqrt(estimatedCells / MAX_GRID_CELLS);

0 commit comments

Comments
 (0)