Skip to content

Commit 2ada1ba

Browse files
committed
2 parents 5fb6191 + c78bef3 commit 2ada1ba

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/hooks/useStatus.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,8 @@ export default function useStatus(
5656
const deadlineRef = useRef(null);
5757

5858
// =========================== Dom Node ===========================
59-
const cacheElementRef = useRef<HTMLElement>(null);
60-
6159
function getDomElement() {
62-
const element = getElement();
63-
64-
return element || cacheElementRef.current;
60+
return getElement();
6561
}
6662

6763
// ========================== Motion End ==========================

0 commit comments

Comments
 (0)