From 2e595b5e86a0f14daa6d72d729c71c9899612e15 Mon Sep 17 00:00:00 2001 From: rstubryan Date: Wed, 22 Oct 2025 09:11:23 +0700 Subject: [PATCH] refactor(FE-114): update import paths from flock to production for recording components --- src/app/production/recording/add/page.tsx | 2 +- src/app/production/recording/detail/edit/page.tsx | 2 +- src/app/production/recording/detail/page.tsx | 2 +- src/app/production/recording/page.tsx | 2 +- .../pages/{flock => production}/recording/RecordingTable.tsx | 4 ++-- .../recording/form/RecordingForm.schema.ts | 0 .../{flock => production}/recording/form/RecordingForm.tsx | 0 .../recording/form/useRecordingFormHandlers.ts | 0 8 files changed, 6 insertions(+), 6 deletions(-) rename src/components/pages/{flock => production}/recording/RecordingTable.tsx (99%) rename src/components/pages/{flock => production}/recording/form/RecordingForm.schema.ts (100%) rename src/components/pages/{flock => production}/recording/form/RecordingForm.tsx (100%) rename src/components/pages/{flock => production}/recording/form/useRecordingFormHandlers.ts (100%) diff --git a/src/app/production/recording/add/page.tsx b/src/app/production/recording/add/page.tsx index 50bb1d92..d41fc183 100644 --- a/src/app/production/recording/add/page.tsx +++ b/src/app/production/recording/add/page.tsx @@ -1,4 +1,4 @@ -import RecordingForm from '@/components/pages/flock/recording/form/RecordingForm'; +import RecordingForm from '@/components/pages/production/recording/form/RecordingForm'; const AddRecording = () => { return ( diff --git a/src/app/production/recording/detail/edit/page.tsx b/src/app/production/recording/detail/edit/page.tsx index 0ab55785..de53a354 100644 --- a/src/app/production/recording/detail/edit/page.tsx +++ b/src/app/production/recording/detail/edit/page.tsx @@ -2,7 +2,7 @@ import { useRouter, useSearchParams } from 'next/navigation'; import useSWR from 'swr'; -import RecordingForm from '@/components/pages/flock/recording/form/RecordingForm'; +import RecordingForm from '@/components/pages/production/recording/form/RecordingForm'; import { RecordingApi } from '@/services/api/production'; import { isResponseError, isResponseSuccess } from '@/lib/api-helper'; diff --git a/src/app/production/recording/detail/page.tsx b/src/app/production/recording/detail/page.tsx index 66a6202a..77b82a68 100644 --- a/src/app/production/recording/detail/page.tsx +++ b/src/app/production/recording/detail/page.tsx @@ -2,7 +2,7 @@ import { useRouter, useSearchParams } from 'next/navigation'; import useSWR from 'swr'; -import RecordingForm from '@/components/pages/flock/recording/form/RecordingForm'; +import RecordingForm from '@/components/pages/production/recording/form/RecordingForm'; import { RecordingApi } from '@/services/api/production'; import { isResponseError, isResponseSuccess } from '@/lib/api-helper'; diff --git a/src/app/production/recording/page.tsx b/src/app/production/recording/page.tsx index 06f42789..f31ac19a 100644 --- a/src/app/production/recording/page.tsx +++ b/src/app/production/recording/page.tsx @@ -1,4 +1,4 @@ -import RecordingTable from '@/components/pages/flock/recording/RecordingTable'; +import RecordingTable from '@/components/pages/production/recording/RecordingTable'; const Recording = () => { return ( diff --git a/src/components/pages/flock/recording/RecordingTable.tsx b/src/components/pages/production/recording/RecordingTable.tsx similarity index 99% rename from src/components/pages/flock/recording/RecordingTable.tsx rename to src/components/pages/production/recording/RecordingTable.tsx index 04a6fce6..cf95f3f5 100644 --- a/src/components/pages/flock/recording/RecordingTable.tsx +++ b/src/components/pages/production/recording/RecordingTable.tsx @@ -220,7 +220,7 @@ const RowOptionsMenu = ({ )} >