Skip to content

Commit

Permalink
remove useless log statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Astrid committed Feb 3, 2024
1 parent 9722d0d commit 65058c0
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/components/atoms/ScrollBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ function ScrollBox({
const [maskImage, setMaskImage] = useState('unset');

useEffect(() => {
console.log(
ref.current,
ref.current?.scrollHeight,
ref.current?.clientHeight,
);
if (ref.current)
if (ref.current.scrollHeight > ref.current.clientHeight)
setMaskImage(
Expand Down

0 comments on commit 65058c0

Please sign in to comment.