refactor(FE): Refactor sales data fetching and component structure

This commit is contained in:
rstubryan
2026-02-19 09:32:33 +07:00
parent 0235494d46
commit d9bd73d8c1
4 changed files with 58 additions and 30 deletions
@@ -0,0 +1,19 @@
import SalesClosingTable from '@/components/pages/closing/table/SalesClosingTable';
interface SalesClosingTabProps {
projectFlockId: number;
}
const SalesClosingTab = ({
projectFlockId,
}: SalesClosingTabProps) => {
return (
<div className='flex flex-col gap-4'>
{projectFlockId && (
<SalesClosingTable projectFlockId={projectFlockId} />
)}
</div>
);
};
export default SalesClosingTab;