Update page.tsx

troubleshooting
This commit is contained in:
Legend
2024-05-17 22:38:28 -06:00
committed by GitHub
parent 582bf12145
commit 30754acfc5
+1 -1
View File
@@ -14,7 +14,7 @@ export default function Home() {
useEffect(() => { useEffect(() => {
fetch('/public/splash.json') fetch('/splash.json')
.then(response => response.json()) .then(response => response.json())
.then(data => { .then(data => {
const randomIndex = Math.floor(Math.random() * data.length); const randomIndex = Math.floor(Math.random() * data.length);