refactor(FE): Refactor component and file names for consistency

This commit is contained in:
rstubryan
2026-02-18 16:15:27 +07:00
parent 2f5d518e15
commit 42cc0f2661
17 changed files with 94 additions and 100 deletions
@@ -0,0 +1,29 @@
import OverheadClosingTable from '@/components/pages/closing/table/OverheadClosingTable';
import { ClosingGeneralInformation } from '@/types/api/closing';
import { ProjectFlockKandang } from '@/types/api/production/project-flock-kandang';
interface OverheadClosingTabProps {
projectFlockId: number;
generalInformation?: ClosingGeneralInformation;
kandangData?: ProjectFlockKandang;
}
const OverheadClosingTab = ({
projectFlockId,
generalInformation,
kandangData,
}: OverheadClosingTabProps) => {
return (
<div className='flex flex-col gap-4'>
{projectFlockId && (
<OverheadClosingTable
projectFlockId={projectFlockId}
generalInformation={generalInformation}
kandangData={kandangData}
/>
)}
</div>
);
};
export default OverheadClosingTab;