diff --git a/App.tsx b/App.tsx index 6d81f59..bafcef6 100644 --- a/App.tsx +++ b/App.tsx @@ -120,18 +120,17 @@ const App: React.FC = () => { }, [handleReset]); const handleExport = (action: 'preview' | 'download') => { - if (reportsData && reportsData.length > 0) { - const fileName = `Relatorio_SteelCheck_${reportsData[0].identification.certificateNumber || 'analise'}`; - exportAsPdf('printable-report-container', fileName, action); - } + // Both actions now use native high-quality browser printing/PDF saving + window.print(); }; return ( -
- {isLoading && } -
+
+
+ {isLoading && } +
-
+
{!hasKey ? ( ) : !reportsData ? ( @@ -199,9 +198,10 @@ const App: React.FC = () => {
)} +
{reportsData && ( -