Skip to content

Commit 7a5b754

Browse files
committed
lint
1 parent 673a777 commit 7a5b754

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/base/src/dialogs/symbology/components/color_ramp/ColorRampControls.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ const ColorRampControls: React.FC<IColorRampControlsProps> = ({
9191
useEffect(() => {
9292
initializeState();
9393
}, []);
94-
94+
9595
useEffect(() => {
9696
setMinValue(layerParams.symbologyState?.min ?? dataMin);
9797
setMaxValue(layerParams.symbologyState?.max ?? dataMax);
@@ -129,7 +129,8 @@ const ColorRampControls: React.FC<IColorRampControlsProps> = ({
129129
}
130130
}, [selectedRamp, numberOfShades]);
131131
const initializeState = () => {
132-
const { nClasses, mode, colorRamp, reverseRamp } = layerParams.symbologyState ?? {};
132+
const { nClasses, mode, colorRamp, reverseRamp } =
133+
layerParams.symbologyState ?? {};
133134
setNumberOfShades(Number(nClasses ?? 9));
134135
setSelectedMode((mode as ClassificationMode) ?? 'equal interval');
135136
setSelectedRamp((colorRamp as ColorRampName) ?? 'viridis');

0 commit comments

Comments
 (0)