diff options
| author | joonhoekim <26rote@gmail.com> | 2025-12-04 11:51:39 +0900 |
|---|---|---|
| committer | joonhoekim <26rote@gmail.com> | 2025-12-04 11:51:39 +0900 |
| commit | 04c667f1a3a2ed8daf84a04a593f1c9ffc36f267 (patch) | |
| tree | 10a2dedc43b910d1d643bd6fd12fe2b976cb94f7 /app | |
| parent | c26d78eabf13498c9817885b54512593c6a33f8d (diff) | |
(김준회) i18n 적용 오류 수정
Diffstat (limited to 'app')
| -rw-r--r-- | app/[lng]/evcp/(evcp)/(procurement)/vendor-investigation/page.tsx | 5 | ||||
| -rw-r--r-- | app/[lng]/evcp/(evcp)/edp-progress/page.tsx | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/app/[lng]/evcp/(evcp)/(procurement)/vendor-investigation/page.tsx b/app/[lng]/evcp/(evcp)/(procurement)/vendor-investigation/page.tsx index e7109dcb..799c3b5a 100644 --- a/app/[lng]/evcp/(evcp)/(procurement)/vendor-investigation/page.tsx +++ b/app/[lng]/evcp/(evcp)/(procurement)/vendor-investigation/page.tsx @@ -13,13 +13,14 @@ import { InformationButton } from "@/components/information/information-button" import { useTranslation } from "@/i18n" interface IndexPageProps { searchParams: Promise<SearchParams> + params: Promise<{ lng: string }> } export default async function IndexPage(props: IndexPageProps) { const searchParams = await props.searchParams const search = searchParamsInvestigationCache.parse(searchParams) - const {lng} = await props.params - const {t} = await useTranslation(lng, 'menu') + const { lng } = await props.params + const { t } = await useTranslation(lng, 'menu') const validFilters = getValidFilters(search.filters) diff --git a/app/[lng]/evcp/(evcp)/edp-progress/page.tsx b/app/[lng]/evcp/(evcp)/edp-progress/page.tsx index 9464c037..b205dd77 100644 --- a/app/[lng]/evcp/(evcp)/edp-progress/page.tsx +++ b/app/[lng]/evcp/(evcp)/edp-progress/page.tsx @@ -10,8 +10,8 @@ interface edpProgressPageProps { params: Promise<{ lng: string }> } -export default async function IndexPage({ params: edpProgressPageProps }) { - const { lng } = await params +export default async function IndexPage(props: edpProgressPageProps) { + const { lng } = await props.params const { t } = await useTranslation(lng, 'menu') return ( |
