Remove console.log

This commit is contained in:
Justin Edmund 2023-06-24 15:35:50 -07:00
parent 52b1307bec
commit 6a9da8e2d8
2 changed files with 0 additions and 6 deletions

View file

@ -93,11 +93,6 @@ const DialogContent = React.forwardRef<HTMLDivElement, Props>(function Dialog(
const footer = props.footerref const footer = props.footerref
if (footer && footer.current) { if (footer && footer.current) {
console.log(
scrollable,
scrollable?.clientHeight,
scrollable?.scrollHeight
)
if (scrollable && scrollable.clientHeight >= scrollable.scrollHeight) { if (scrollable && scrollable.clientHeight >= scrollable.scrollHeight) {
footer.current.style.boxShadow = `${boxShadowBase} rgba(0, 0, 0, 0)` footer.current.style.boxShadow = `${boxShadowBase} rgba(0, 0, 0, 0)`
footer.current.style.borderTopColor = `rgba(0, 0, 0, 0)` footer.current.style.borderTopColor = `rgba(0, 0, 0, 0)`

View file

@ -49,7 +49,6 @@ const RaidItem = React.forwardRef<HTMLDivElement, PropsWithChildren<Props>>(
if (event.key === 'ArrowUp' || event.key === 'ArrowDown') { if (event.key === 'ArrowUp' || event.key === 'ArrowDown') {
event.preventDefault() event.preventDefault()
if (onArrowKeyPressed) { if (onArrowKeyPressed) {
console.log(event.key)
onArrowKeyPressed(event.key === 'ArrowUp' ? 'Up' : 'Down') onArrowKeyPressed(event.key === 'ArrowUp' ? 'Up' : 'Down')
} }
} }