refactor: remove project CSV export option

This commit is contained in:
Carlos Valente
2025-10-05 07:31:43 +02:00
committed by Alex Christoffer Rasmussen
parent ccf1ddf2fd
commit 846eaf569d
6 changed files with 3 additions and 234 deletions
@@ -10,7 +10,6 @@ import {
import {
deleteProject,
downloadCSV,
downloadProject,
duplicateProject,
loadProject,
@@ -187,10 +186,6 @@ function ActionMenu(props: ActionMenuProps) {
await downloadProject(filename);
};
const handleExportCSV = async () => {
await downloadCSV(filename);
};
return (
<DropdownMenu
render={<IconButton variant='ghosted-white' />}
@@ -213,7 +208,6 @@ function ActionMenu(props: ActionMenuProps) {
{ type: 'item', icon: IoPencilOutline, label: 'Rename', onClick: handleRename },
{ type: 'item', icon: IoCopyOutline, label: 'Duplicate', onClick: handleDuplicate },
{ type: 'item', icon: IoDocumentOutline, label: 'Download', onClick: handleDownload },
{ type: 'item', icon: IoDocumentOutline, label: 'Export CSV Rundown', onClick: handleExportCSV },
{ type: 'divider' },
{ type: 'item', icon: IoTrash, label: 'Delete', onClick: () => onDelete(filename), disabled: current },
]}