Remove console.log
This commit is contained in:
parent
52b1307bec
commit
6a9da8e2d8
2 changed files with 0 additions and 6 deletions
|
|
@ -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)`
|
||||||
|
|
|
||||||
|
|
@ -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')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue