Skip to content

Commit

Permalink
rename: 디렉터리명 수정 (MeetingTimePickPage → MeetingViewerPage)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yoonkyoungme committed Oct 11, 2024
1 parent b239066 commit 9b32c4b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
6 changes: 3 additions & 3 deletions frontend/src/pages/MeetingInvitePage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ import {
} from './MeetingInvitePage.styles';

const MEETING_TYPE = {
DAYSONLY: '날짜',
DATETIME: '날짜와 시간',
DAYSONLY: '날짜를',
DATETIME: '날짜와 시간을',
};

export default function MeetingInvitePage() {
Expand Down Expand Up @@ -55,7 +55,7 @@ export default function MeetingInvitePage() {
<h1 css={s_titleText}>{meetingName}</h1>
<div
css={s_explanationText}
>{`일정 조율을 위해 약속에 참여할 수 있는 \n${type ? MEETING_TYPE[type] : MEETING_TYPE.DATETIME} 알려주세요.`}</div>
>{`일정 조율을 위해 약속에 참여할 수 있는 \n${type ? MEETING_TYPE[type] : MEETING_TYPE.DATETIME} 알려주세요.`}</div>
</div>
</div>
<div css={s_buttonContainer}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ import {
s_contentDivider,
s_pageHeader,
s_toggleButtonContainer,
} from './MeetingTimePickPage.styles';
} from './MeetingViewerPage.styles';

const MEETING_QUERY_PAGE_ATTRIBUTES = {
overview: ' 약속 참여자들이\n선택한 시간대를 알려드릴게요',
timePick: ' 약속에\n참여할 수 있는 시간을 알려주세요',
};

export default function MeetingTimePickPage() {
export default function MeetingViewerPage() {
const params = useParams<{ uuid: string }>();
const uuid = params.uuid!;
const {
Expand Down
9 changes: 4 additions & 5 deletions frontend/src/router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ import GlobalLayout from '@layouts/GlobalLayout';

import { TimePickerUpdateStateProvider } from '@contexts/TimePickerUpdateStateProvider';

import MeetingInvitePage from '@pages/MeetingInvitePage';
import MeetingRegisterPage from '@pages/MeetingRegisterPage';

import PageMoveLoading from '@components/_common/PageMoveLoading';

const AttendeeLoginPage = lazy(() => import('@pages/AttendeeLoginPage'));
Expand All @@ -19,8 +16,10 @@ const LandingPage = lazy(() => import('@pages/LandingPage'));
const MeetingConfirmPage = lazy(() => import('@pages/MeetingConfirmPage'));
const MeetingLinkSharePage = lazy(() => import('@pages/MeetingLinkSharePage'));
const MeetingRecommendPage = lazy(() => import('@pages/MeetingRecommendPage'));
const MeetingTimePickPage = lazy(() => import('@pages/MeetingTimePickPage'));
const MeetingRegisterPage = lazy(() => import('@pages/MeetingRegisterPage'));
const MeetingViewerPage = lazy(() => import('@pages/MeetingViewerPage'));
const NotFoundPage = lazy(() => import('@pages/NotFoundPage'));
const MeetingInvitePage = lazy(() => import('@pages/MeetingInvitePage'));

const SuspenseWrapper = (Component: ComponentType) => (
<Suspense fallback={<PageMoveLoading />}>
Expand Down Expand Up @@ -55,7 +54,7 @@ const meetingRoutes: RouteObject[] = [
path: 'viewer',
element: (
<TimePickerUpdateStateProvider>
{SuspenseWrapper(MeetingTimePickPage)}
{SuspenseWrapper(MeetingViewerPage)}
</TimePickerUpdateStateProvider>
),
},
Expand Down

0 comments on commit 9b32c4b

Please sign in to comment.