diff --git a/src/app/page.tsx b/src/app/page.tsx index cb8668b..349070e 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -896,7 +896,7 @@ function HomeClient() { {musicEnabled && ( - + + + { { + const router = useRouter(); const [backgroundImage, setBackgroundImage] = useState(''); const shouldShowSharedBackground = !hideNavigation && activePath !== '/play'; + useEffect(() => { + router.prefetch('/search'); + router.prefetch('/play'); + }, [router]); + useEffect(() => { if (typeof window === 'undefined' || !shouldShowSharedBackground) { setBackgroundImage('');