We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 823437f commit c78bef3Copy full SHA for c78bef3
src/hooks/useStatus.ts
@@ -56,12 +56,8 @@ export default function useStatus(
56
const deadlineRef = useRef(null);
57
58
// =========================== Dom Node ===========================
59
- const cacheElementRef = useRef<HTMLElement>(null);
60
-
61
function getDomElement() {
62
- const element = getElement();
63
64
- return element || cacheElementRef.current;
+ return getElement();
65
}
66
67
// ========================== Motion End ==========================
0 commit comments