Update verticalScrollReducer.ts

pull/1931/head
bunsenstraat 3 years ago committed by GitHub
parent ce8583e9a5
commit dc90c7eeaf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      libs/remix-ui/vertical-icons-panel/src/lib/reducers/verticalScrollReducer.ts

@ -9,8 +9,6 @@ export function verticalScrollReducer (prevState: any, actionPayload: actionType
const { scrollHeight, clientHeight } = actionPayload.payload
let { scrollState } = actionPayload.payload
if (scrollHeight > clientHeight) scrollState = true
console.log(scrollHeight, clientHeight)
console.log(scrollState)
return { scrollHeight, clientHeight, scrollState }
}
return prevState

Loading…
Cancel
Save