Skip to content

Commit

Permalink
fix: 이동 페이지 url 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Heeeera committed Apr 6, 2024
1 parent 108d07f commit 9f07245
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/ReviewCreate/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import { useGetEndGameDetailsApi } from '@/apis/endGameUser';
import EndGameListItem from '@/components/EndGameListItem';
import Modal from '@/components/Modal';
import TabBar from '@/components/TabBar';
import { ROOMS_MY_END_GAMES_API_URL } from '@/constants/apiRoutes';
import { SUCCESS_RIVIEW_MODAL_MESSAGE } from '@/constants/messages/modal';
import { END_GAMES_PAGE_URL } from '@/constants/pageRoutes';

import ReviewForm from './components/ReviewForm';

Expand All @@ -23,7 +23,7 @@ const ReviewCreate = () => {

const handleCloseModal = () => {
setIsModalOpen(false);
navigate(ROOMS_MY_END_GAMES_API_URL, { replace: true });
navigate(END_GAMES_PAGE_URL, { replace: true });
};

const handleReviewCreate = () => {
Expand Down

0 comments on commit 9f07245

Please sign in to comment.