refactor(FE): Remove unused imports and redundant code

This commit is contained in:
rstubryan
2026-02-20 14:17:26 +07:00
parent de0f9ae985
commit 1f2f3acebb
90 changed files with 222 additions and 474 deletions
@@ -256,7 +256,7 @@ export const generateDashboardPDF = async ({
pdf.save(fileName);
toast.success('PDF exported successfully!', { id: 'export-pdf' });
} catch (error) {
} catch {
toast.error('Failed to export PDF. Please try again.', {
id: 'export-pdf',
});