Update page.tsx
troubleshooting
This commit is contained in:
+1
-1
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user