Skip to content

Commit

Permalink
refactor(components/molecule/collapsible): Delete console log
Browse files Browse the repository at this point in the history
  • Loading branch information
Oriol Hilari committed Apr 4, 2024
1 parent 617e85c commit f3af09a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion components/molecule/collapsible/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ const MoleculeCollapsible = ({

useEffect(() => {
if (!childrenHeight || !expanded) return
console.log('setShowButton', {isCollapsible, response: isCollapsible && childrenHeight >= height})
setShowButton(isCollapsible && childrenHeight >= height)
}, [childrenHeight, expanded, height, isCollapsible, setShowButton])

Expand Down

0 comments on commit f3af09a

Please sign in to comment.