Skip to content

Commit f9ee4d6

Browse files
committed
Remove unnecessary height update call in SlidingTextBox component
1 parent 793134f commit f9ee4d6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/components/SlidingTextBox.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ export const SlidingTextBox = ({ text }: { text: string }) => {
3333
const containerBox = containerBoxRef.current;
3434
if (!containerBox) return;
3535
const { dispose } = initialize(containerBox);
36-
updateHeight(containerBox);
3736
return () => dispose();
3837
}, []);
3938

0 commit comments

Comments
 (0)