diff --git a/src/app/[userNickname]/[listId]/_components/ListDetailOuter/Header.tsx b/src/app/[userNickname]/[listId]/_components/ListDetailOuter/Header.tsx index 2e12cc4d..09b3b5b6 100644 --- a/src/app/[userNickname]/[listId]/_components/ListDetailOuter/Header.tsx +++ b/src/app/[userNickname]/[listId]/_components/ListDetailOuter/Header.tsx @@ -14,7 +14,7 @@ function Header() { }; const handleHistoryButtonClick = () => { - router.push(`/${params.userNickname}/${params.listId}/history`); + router.push(`/${params?.userNickname}/${params?.listId}/history`); }; return (