mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-23 06:45:46 +00:00
refactor(FE): Refactor sales data fetching and component structure
This commit is contained in:
@@ -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;
|
||||
Reference in New Issue
Block a user