mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-02-26 03:47:01 -05:00
Fix
This commit is contained in:
@@ -159,7 +159,6 @@ export default function ProfilesPage() {
|
||||
const typewriter = document.getElementById("typewriter");
|
||||
let i = 0;
|
||||
let timeoutId: any;
|
||||
let intervalId;
|
||||
if (typewriter) typewriter.textContent = ""
|
||||
|
||||
function typeWriter() {
|
||||
@@ -170,7 +169,7 @@ export default function ProfilesPage() {
|
||||
}
|
||||
}
|
||||
|
||||
intervalId = setTimeout(() => typeWriter(), 500);
|
||||
const intervalId = setTimeout(() => typeWriter(), 500);
|
||||
return () => {
|
||||
clearTimeout(timeoutId);
|
||||
clearTimeout(intervalId);
|
||||
|
||||
Reference in New Issue
Block a user