remove console log in reducer

pull/1831/head^2
Joseph Izang 3 years ago committed by yann300
parent f005b222fe
commit e734892329
  1. 1
      libs/remix-ui/vertical-icons-panel/src/lib/reducers/verticalScrollReducer.ts

@ -6,7 +6,6 @@ export type actionType = {
export function verticalScrollReducer (prevState: any, actionPayload: actionType) {
if (actionPayload.type === 'resize') {
console.log(`values being checked are ${actionPayload.payload.scrollHeight} > ${actionPayload.payload.clientHeight}`)
let { scrollHeight, clientHeight, scrollState } = actionPayload.payload
if (scrollHeight > clientHeight) scrollState = true
return { scrollHeight, clientHeight, scrollState }

Loading…
Cancel
Save