From dc4fa3f43517bd93d64e1ac42880eb5a97af0271 Mon Sep 17 00:00:00 2001 From: Legend <126304434+ExpiredWarranty@users.noreply.github.com> Date: Fri, 17 May 2024 22:53:09 -0600 Subject: [PATCH] Update page.tsx fixed --- src/app/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 79c4ea7..d1e3c1a 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -18,7 +18,7 @@ export default function Home() { .then(response => response.json()) .then(data => { const randomIndex = Math.floor(Math.random() * data.length); - setSplashText(data[randomIndex].sp); + setSplashText(data[randomIndex].splash); }) .catch(error => console.error('Error fetching splash text:', error));