mirror of
https://github.com/DerTyp7/dertyp7.github.io.git
synced 2025-10-28 12:22:14 +01:00
Change job change interval to 5s
This commit is contained in:
@@ -10,7 +10,7 @@ export default function About() {
|
||||
const intervalId = setInterval(() => {
|
||||
jobIndex = jobIndex + 1 === jobs.length ? 0 : jobIndex + 1;
|
||||
setJob(jobs[jobIndex]);
|
||||
}, 7000);
|
||||
}, 5000);
|
||||
|
||||
return () => clearInterval(intervalId);
|
||||
}, []);
|
||||
|
||||
Reference in New Issue
Block a user