fix(FE): fixing component date input, remove alert native function & remove console.error

This commit is contained in:
randy-ar
2026-01-19 15:49:31 +07:00
parent 7b939f57af
commit ff6f6136cc
7 changed files with 28 additions and 19 deletions
@@ -253,7 +253,6 @@ export const generateDashboardPDF = async ({
toast.success('PDF exported successfully!', { id: 'export-pdf' });
} catch (error) {
console.error('Error generating PDF:', error);
toast.error('Failed to export PDF. Please try again.', {
id: 'export-pdf',
});