diff --git a/apps/cs/app/(without-base-layout)/user-survey-article/[srvySn]/page.tsx b/apps/cs/app/(without-base-layout)/user-survey-article/[srvySn]/page.tsx index f2488d4a2..6155852fb 100644 --- a/apps/cs/app/(without-base-layout)/user-survey-article/[srvySn]/page.tsx +++ b/apps/cs/app/(without-base-layout)/user-survey-article/[srvySn]/page.tsx @@ -1,10 +1,10 @@ -import { UserSurveyArticle } from "@/pages/survey"; +import { ViewSurveyArticle } from "@/pages/survey"; -export default async function UserSurveyArticlePage({ +export default async function ViewSurveyArticlePage({ params, }: { params: Promise<{ srvySn: string }>; }) { const { srvySn } = await params; - return ; + return ; } diff --git a/apps/cs/app/(without-base-layout)/user-survey-result/[srvySn]/page.tsx b/apps/cs/app/(without-base-layout)/user-survey-result/[srvySn]/page.tsx index 017d469dd..8ac4b076c 100644 --- a/apps/cs/app/(without-base-layout)/user-survey-result/[srvySn]/page.tsx +++ b/apps/cs/app/(without-base-layout)/user-survey-result/[srvySn]/page.tsx @@ -1,10 +1,10 @@ -import { UserSurveyResult } from "@/pages/survey"; +import { ViewSurveyResult } from "@/pages/survey"; -export default async function UserSurveyResultPage({ +export default async function ViewSurveyResultPage({ params, }: { params: Promise<{ srvySn: string }>; }) { const { srvySn } = await params; - return ; + return ; } diff --git a/apps/cs/src/pages/survey/index.ts b/apps/cs/src/pages/survey/index.ts index 0fc3a8f29..6247debfb 100644 --- a/apps/cs/src/pages/survey/index.ts +++ b/apps/cs/src/pages/survey/index.ts @@ -2,5 +2,5 @@ export { SurveyPage } from "./ui/survey-page"; export { CreatePage } from "./ui/create-page"; export { DetailPage } from "./ui/detail-page"; export { ModifyPage } from "./ui/modify-page"; -export { UserSurveyArticle } from "./ui/user-survey-article"; -export { UserSurveyResult } from "./ui/user-survey-result"; +export { ViewSurveyArticle } from "./ui/view-survey-article"; +export { ViewSurveyResult } from "./ui/view-survey-result"; diff --git a/apps/cs/src/pages/survey/ui/user-survey-article.tsx b/apps/cs/src/pages/survey/ui/view-survey-article.tsx similarity index 99% rename from apps/cs/src/pages/survey/ui/user-survey-article.tsx rename to apps/cs/src/pages/survey/ui/view-survey-article.tsx index 066066c86..58f52d090 100644 --- a/apps/cs/src/pages/survey/ui/user-survey-article.tsx +++ b/apps/cs/src/pages/survey/ui/view-survey-article.tsx @@ -31,7 +31,7 @@ import { type UserSurveyFormData, } from "../model/survey-interface"; -function UserSurveyArticle({ srvySn }: { srvySn: string }) { +function ViewSurveyArticle({ srvySn }: { srvySn: string }) { const alert = useAlertStore((state) => state.setMessage); const [brdt, setBrdt] = useState(""); @@ -459,4 +459,4 @@ function TextareaArticle({ ); } -export { UserSurveyArticle }; +export { ViewSurveyArticle }; diff --git a/apps/cs/src/pages/survey/ui/user-survey-result.tsx b/apps/cs/src/pages/survey/ui/view-survey-result.tsx similarity index 99% rename from apps/cs/src/pages/survey/ui/user-survey-result.tsx rename to apps/cs/src/pages/survey/ui/view-survey-result.tsx index 19af54e4e..d2a50af1b 100644 --- a/apps/cs/src/pages/survey/ui/user-survey-result.tsx +++ b/apps/cs/src/pages/survey/ui/view-survey-result.tsx @@ -44,7 +44,7 @@ ChartJS.register( Legend, ); -function UserSurveyResult({ srvySn }: { srvySn: string }) { +function ViewSurveyResult({ srvySn }: { srvySn: string }) { const [params, setParams] = useState({ siteId: "ALL", }); @@ -333,4 +333,4 @@ function InputResult({ ); } -export { UserSurveyResult }; +export { ViewSurveyResult };