fix
All checks were successful
Deploy Homepage / build (push) Successful in 1m5s

This commit is contained in:
2025-07-20 12:13:06 +02:00
parent cf96fbf6bd
commit 2770a08c53

View File

@@ -47,7 +47,7 @@ export default function Slide1() {
const genYs = useMemo(() => {
const ys = [];
for (let i = 0; i < titles.length; i++) {
ys.push([]);
ys.push([] as string[]);
for (let j = 0; j < titles.length+1; j++) {
if ((j % titles.length) === i) {
ys[i].push('0%', '0%'); // Current title
@@ -66,7 +66,7 @@ export default function Slide1() {
const genOs = useMemo(() => {
const os = [];
for (let i = 0; i < titles.length; i++) {
os.push([]);
os.push([] as number[]);
for (let j = 0; j < titles.length+1; j++) {
if ((j % titles.length) === i) {
os[i].push(1, 1); // Current title