Fix: Import correct lucide-react icons
The `Export` icon was not correctly imported from `lucide-react` in `MaterialsImportExport.tsx`. This commit fixes the import to resolve the build error.
This commit is contained in:
@@ -4,7 +4,7 @@ import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card';
|
||||
import { Button } from '@/components/ui/button';
|
||||
import { Textarea } from '@/components/ui/textarea';
|
||||
import { Label } from '@/components/ui/label';
|
||||
import { Import, Export, FileText } from 'lucide-react';
|
||||
import { Import, Download, FileText } from 'lucide-react';
|
||||
import { BillOfMaterialsItem, ConsumedMaterialsItem } from '@/services/jobService';
|
||||
|
||||
interface MaterialsImportExportProps {
|
||||
@@ -101,7 +101,7 @@ const MaterialsImportExport: React.FC<MaterialsImportExportProps> = ({
|
||||
onClick={handleExportBom}
|
||||
className="border-gray-600 hover:bg-gray-800"
|
||||
>
|
||||
<Export className="w-4 h-4 mr-2" />
|
||||
<Download className="w-4 h-4 mr-2" />
|
||||
Export
|
||||
</Button>
|
||||
</div>
|
||||
@@ -130,7 +130,7 @@ const MaterialsImportExport: React.FC<MaterialsImportExportProps> = ({
|
||||
onClick={handleExportConsumed}
|
||||
className="border-gray-600 hover:bg-gray-800"
|
||||
>
|
||||
<Export className="w-4 h-4 mr-2" />
|
||||
<Download className="w-4 h-4 mr-2" />
|
||||
Export
|
||||
</Button>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user