chore: remove export button

This commit is contained in:
ValdiANS
2026-01-12 17:31:07 +07:00
parent 10e843aebf
commit 70eac011f3
@@ -283,10 +283,6 @@ export function MasterEmployeeContent() {
} }
}; };
const handleExport = (format: string) => {
toast.success(`Data berhasil diekspor ke ${format}`);
};
if (isLoadingEmployees && !employees) { if (isLoadingEmployees && !employees) {
return ( return (
<div className='min-h-screen'> <div className='min-h-screen'>
@@ -390,27 +386,6 @@ export function MasterEmployeeContent() {
{/* RIGHT: Export + Add */} {/* RIGHT: Export + Add */}
<div className='flex items-center gap-2 flex-wrap'> <div className='flex items-center gap-2 flex-wrap'>
<DropdownMenu>
<DropdownMenuTrigger asChild>
<Button
variant='outline'
className='border-gray-200 text-gray-700'
>
<Download className='w-4 h-4 mr-2' />
Export
<ChevronDown className='w-4 h-4 ml-2' />
</Button>
</DropdownMenuTrigger>
<DropdownMenuContent align='end'>
<DropdownMenuItem onClick={() => handleExport('CSV')}>
Export CSV
</DropdownMenuItem>
<DropdownMenuItem onClick={() => handleExport('Excel')}>
Export Excel
</DropdownMenuItem>
</DropdownMenuContent>
</DropdownMenu>
<Button <Button
onClick={handleAdd} onClick={handleAdd}
className='bg-[#0069e0] hover:bg-[#0052b3] text-white' className='bg-[#0069e0] hover:bg-[#0052b3] text-white'