From 225db8bfd6a44d76af7a71046eb21f35a0bdd934 Mon Sep 17 00:00:00 2001 From: Adrian Llopart <67589468+AdrianLlopart@users.noreply.github.com> Date: Wed, 8 Jul 2026 09:51:29 +0200 Subject: [PATCH 1/2] Apply suggested fix to src/components/RSkills.jsx from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> --- src/components/RSkills.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/RSkills.jsx b/src/components/RSkills.jsx index d328f8c..734eb0e 100644 --- a/src/components/RSkills.jsx +++ b/src/components/RSkills.jsx @@ -148,7 +148,7 @@ export default function RSkills() { const [active, setActive] = useState(KINDS[0].kind); // Auto-cycle through the kinds every 3s until the user picks a tab. const [autoplay, setAutoplay] = useState(true); - const current = KINDS.find((k) => k.kind === active); + const current = KINDS.find((k) => k.kind === active) || KINDS[0]; useEffect(() => { if (!autoplay || reduce) return; From 4a74354f4d1fde8c6ff6212ea9fb6f1f06b324a8 Mon Sep 17 00:00:00 2001 From: Adrian Llopart <67589468+AdrianLlopart@users.noreply.github.com> Date: Wed, 8 Jul 2026 09:51:29 +0200 Subject: [PATCH 2/2] Apply suggested fix to src/components/RSkills.jsx from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> --- src/components/RSkills.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/RSkills.jsx b/src/components/RSkills.jsx index 734eb0e..f1ac014 100644 --- a/src/components/RSkills.jsx +++ b/src/components/RSkills.jsx @@ -125,6 +125,7 @@ function colorize(text) { } function colorVal(s) { const out = []; + // Match either a double-quoted string (group 1) or a number (integer/decimal, group 2). const re = /("[^"]*")|(\b\d+\.\d+\b|\b\d+\b)/g; let last = 0; let mm;