diff --git a/lib/click-outside/click-outside.tsx b/lib/click-outside/click-outside.tsx index 2af0497a6..0cb491aef 100644 --- a/lib/click-outside/click-outside.tsx +++ b/lib/click-outside/click-outside.tsx @@ -11,11 +11,9 @@ const ClickOutside = ( { active = true, onClick, children }: ClickOutsideProps, ref: Ref | null | any = {} ) => { - console.log('--------', active, '-----------') const innerRef = ref?.current const handleClick = (event: any) => { - console.log(innerRef, event.target) if (!hasParent(event.target, innerRef)) { if (typeof onClick === 'function') { event.preventDefault()