refactor: improve formatting, type safety, and component organization

- Adjusted inconsistent formatting for better readability across components and services.
- Enhanced type safety by adding placeholders for ignored error parameters and improving types across services.
- Improved component organization by reordering imports consistently and applying formatting updates in UI components.
This commit is contained in:
Mathis HERRIOT
2026-01-29 14:11:28 +01:00
parent 3edf5cc070
commit 9ccbd2ceb1
11 changed files with 133 additions and 59 deletions

View File

@@ -18,7 +18,10 @@ export const adminService = {
return response.data;
},
updateReportStatus: async (reportId: string, status: ReportStatus): Promise<void> => {
updateReportStatus: async (
reportId: string,
status: ReportStatus,
): Promise<void> => {
await api.patch(`/reports/${reportId}/status`, { status });
},