Skip to content

Commit

Permalink
vercel 오류 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
ipcgrdn committed Dec 19, 2024
1 parent fca5680 commit 8bdf514
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/user/[userId]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
Expand Down
2 changes: 1 addition & 1 deletion src/app/watch/[watchId]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export default function WatchPage() {

useEffect(() => {
checkResize();
}, [isMobile]);
}, []);

const [view, setView] = useState<ViewState>("nowPlaying");
const router = useRouter();
Expand Down

0 comments on commit 8bdf514

Please sign in to comment.