Skip to content

Commit 4217531

Browse files
committed
fix: remove console.logs
1 parent d7bdf5b commit 4217531

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/components/AxisLinear.useMeasure.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ export default function useMeasure({
4343

4444
if (!elRef.current) {
4545
if (axisDimension) {
46-
console.log('remove axis')
4746
// If the entire axis is hidden, then we need to remove the axis dimensions
4847
setChartState(state => {
4948
const newAxes = state.axisDimensions[position] || {}
@@ -119,7 +118,6 @@ export default function useMeasure({
119118
: 0
120119

121120
if (newRotation !== rotation) {
122-
console.log('rotation')
123121
setRotation(position === 'top' ? -newRotation : newRotation)
124122
}
125123
}
@@ -188,8 +186,6 @@ export default function useMeasure({
188186
!axisDimension ||
189187
Object.keys(newDimensions).some(key => {
190188
return newDimensions[key] !== axisDimension[key]
191-
? console.log(id, key, newDimensions[key], axisDimension[key]) || true
192-
: false
193189
})
194190
) {
195191
setChartState(state => ({

0 commit comments

Comments
 (0)