Skip to content

Commit

Permalink
build 시 오류 사항 수정 (#55)
Browse files Browse the repository at this point in the history
build 시 오류 사항 수정
  • Loading branch information
Dobbymin authored Oct 8, 2024
2 parents fab5b1c + 6c172f9 commit 528fb0c
Show file tree
Hide file tree
Showing 56 changed files with 20 additions and 15,348 deletions.
15,328 changes: 0 additions & 15,328 deletions package-lock.json

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "siniddo",
"name": "sinitto",
"private": true,
"version": "0.0.0",
"type": "module",
Expand Down
22 changes: 11 additions & 11 deletions src/app/routes/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ import { RouterPath } from './path';
import MainPage from '@/pages/common/main';
import RegisterPage from '@/pages/common/register';
import SeniorRegisterPage from '@/pages/guard/register';
import SiniddoReviewPage from '@/pages/guard/review';
import SinittoReviewPage from '@/pages/guard/review';
import ServiceHistoryPage from '@/pages/guard/service-history';
import CallBackDetailPage from '@/pages/siniddo/call-back/detail';
import CallBackListPage from '@/pages/siniddo/call-back/list';
import SiniddoGuideLinePage from '@/pages/siniddo/guide-line';
import HelloCallListPage from '@/pages/siniddo/hello-call/hello-call-list';
import HelloCallReportPage from '@/pages/siniddo/hello-call/hello-call-report';
import HelloCallServicePage from '@/pages/siniddo/hello-call/hello-call-service';
import MyPage from '@/pages/siniddo/mypage';
import CallBackDetailPage from '@/pages/sinitto/call-back/detail';
import CallBackListPage from '@/pages/sinitto/call-back/list';
import SinittoGuideLinePage from '@/pages/sinitto/guide-line';
import HelloCallListPage from '@/pages/sinitto/hello-call/hello-call-list';
import HelloCallReportPage from '@/pages/sinitto/hello-call/hello-call-report';
import HelloCallServicePage from '@/pages/sinitto/hello-call/hello-call-service';
import MyPage from '@/pages/sinitto/mypage';

const router = createBrowserRouter([
{
Expand Down Expand Up @@ -68,15 +68,15 @@ const router = createBrowserRouter([
},
{
path: RouterPath.CALL_BACK_GUID_LINE,
element: <SiniddoGuideLinePage />,
element: <SinittoGuideLinePage />,
},
],
},
],
},
{
path: RouterPath.SINIDDO_REVIEW,
element: <SiniddoReviewPage />,
path: RouterPath.SINITTO_REVIEW,
element: <SinittoReviewPage />,
},
]);

Expand Down
2 changes: 1 addition & 1 deletion src/app/routes/path.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ export const RouterPath = {
CALL_BACK_DETAIL: ':callBackId',
CALL_BACK_GUID_LINE: ':guideLineId',
SENIOR_REGISTER: `/senior-register`,
SINIDDO_REVIEW: `/siniddo-review`,
SINITTO_REVIEW: `/sinitto-review`,
};
4 changes: 2 additions & 2 deletions src/pages/guard/review/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import Notice from '@/shared/components/features/notice';
import { Text, Flex, Box, Textarea, Image, Button } from '@chakra-ui/react';
import styled from '@emotion/styled';

const SiniddoReviewPage = () => {
const SinittoReviewPage = () => {
const [ratings, setRatings] = useState<number[]>([0, 0, 0]); // 각 질문에 대한 별점
const [isGood, setIsGood] = useState<boolean | null>(null);

Expand Down Expand Up @@ -86,7 +86,7 @@ const SiniddoReviewPage = () => {
);
};

export default SiniddoReviewPage;
export default SinittoReviewPage;

const TitleText = styled(Text)`
font-size: 20px;
Expand Down
Empty file removed src/pages/siniddo/point/.gitkeep
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const CallBackDetailPage = () => {
phoneNumber='010-1234-5678'
/>
) : (
<PreAcceptMenu handleClcik={handleRequestAccept} />
<PreAcceptMenu handleClick={handleRequestAccept} />
)}
</Wrapper>
<Outlet />
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ type GuideLineParams = {
guideLineId: string;
};

const SiniddoGuideLinePage = () => {
const SinittoGuideLinePage = () => {
const { callBackId = '', guideLineId = '' } = useParams<GuideLineParams>();
console.log(callBackId, guideLineId);

Expand All @@ -28,7 +28,7 @@ const SiniddoGuideLinePage = () => {
);
};

export default SiniddoGuideLinePage;
export default SinittoGuideLinePage;

const Wrapper = styled.div`
min-height: 100vh;
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const HelloCallListPage = () => {
const navigate = useNavigate();

const handlerNavigate = () => {
navigate(RouterPath.helloCallService);
navigate(RouterPath.HELLO_CALL_SERVICE);
};

return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const HelloCallServicePage = () => {
const navigate = useNavigate();

const handlerNavigate = () => {
navigate(`${RouterPath.helloCall}/${RouterPath.helloCallReport}`);
navigate(`${RouterPath.HELLO_CALL}/${RouterPath.HELLO_CALL_REPORT}`);
};

return (
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 528fb0c

Please sign in to comment.