Update page.tsx
fixed
This commit is contained in:
parent
ac19ea5838
commit
dc4fa3f435
1 changed files with 1 additions and 1 deletions
|
|
@ -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));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue