From 09870694831a4cb6c2177062fa5c37160b42ab80 Mon Sep 17 00:00:00 2001 From: Janis Date: Wed, 17 Jan 2024 21:17:54 +0100 Subject: [PATCH] Change job change interval to 5s --- src/sections/About.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sections/About.tsx b/src/sections/About.tsx index 5ca1fb0..e12a4c1 100644 --- a/src/sections/About.tsx +++ b/src/sections/About.tsx @@ -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); }, []);