mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-23 23:05:46 +00:00
refactor(FE): Remove unused imports and redundant code
This commit is contained in:
@@ -12,7 +12,6 @@ import {
|
||||
} from '@/types/api/daily-checklist/daily-checklist';
|
||||
import { isResponseError } from '@/lib/api-helper';
|
||||
import { toast } from 'sonner';
|
||||
import { formatDate } from '@/lib/helper';
|
||||
|
||||
export class DailyChecklistApiService extends BaseApiService<
|
||||
DailyChecklist,
|
||||
@@ -316,7 +315,7 @@ export class DailyChecklistApiService extends BaseApiService<
|
||||
wb,
|
||||
`laporan-daily-checklist-${params.get('tahun')}-${params.get('bulan')}.xlsx`
|
||||
);
|
||||
} catch (error) {
|
||||
} catch {
|
||||
toast.error('Gagal melakukan export daily checklist! Coba lagi.');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user