From 8bdf5146e944bde8864e9dac9ad0bb72b7a5e2f9 Mon Sep 17 00:00:00 2001 From: choi Date: Thu, 19 Dec 2024 19:55:42 +0900 Subject: [PATCH] =?UTF-8?q?vercel=20=EC=98=A4=EB=A5=98=20=ED=95=B4?= =?UTF-8?q?=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/user/[userId]/page.tsx | 2 +- src/app/watch/[watchId]/page.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/user/[userId]/page.tsx b/src/app/user/[userId]/page.tsx index c2e3a5b..f090f04 100644 --- a/src/app/user/[userId]/page.tsx +++ b/src/app/user/[userId]/page.tsx @@ -30,7 +30,7 @@ import { Profile, getProfile, isProfile } from "@/services/profileService"; import useProfileModal from "@/hooks/modal/use-profile-modal"; import { useUser } from "@/provider/userProvider"; -export default async function UserPage() { +export default function UserPage() { const streamingBar = useStreamingBar(); const profileModal = useProfileModal(); const isMobile = useMediaQuery({ maxWidth: 768 }); diff --git a/src/app/watch/[watchId]/page.tsx b/src/app/watch/[watchId]/page.tsx index 64718ff..ec56e39 100644 --- a/src/app/watch/[watchId]/page.tsx +++ b/src/app/watch/[watchId]/page.tsx @@ -40,7 +40,7 @@ export default function WatchPage() { useEffect(() => { checkResize(); - }, [isMobile]); + }, []); const [view, setView] = useState("nowPlaying"); const router = useRouter();