Skip to content

Commit

Permalink
Merge pull request #2718 from SUI-Components/feature/delete-console-l…
Browse files Browse the repository at this point in the history
…og-collapsible

refactor(components/molecule/collapsible): Delete console log
  • Loading branch information
hilaring authored Apr 4, 2024
2 parents 83a24e1 + f3af09a commit 4e7473a
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 4e7473a

Please sign in to comment.