Skip to content

Commit ef7e72b

Browse files
committed
xd
1 parent 82c4522 commit ef7e72b

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

components/new/TrueFocus.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,11 @@ const TrueFocus: React.FC<TrueFocusProps> = ({
8181
const isActive = index === currentIndex;
8282
return (
8383
<span
84-
key={index}
85-
ref={(el) => (wordRefs.current[index] = el)}
86-
className="relative text-[3rem] font-black cursor-pointer"
84+
key={index}
85+
ref={(el) => {
86+
wordRefs.current[index] = el;
87+
}}
88+
8789
style={{
8890
filter: manualMode
8991
? isActive

0 commit comments

Comments
 (0)