add cutFileName for match table, fix some styles
This commit is contained in:
@@ -10,16 +10,18 @@ export interface ViolationFileDetail {
|
||||
status: string;
|
||||
created_date: string;
|
||||
file_id: string;
|
||||
country: string;
|
||||
country_code: string;
|
||||
}
|
||||
|
||||
interface ViolationFile {
|
||||
violations: ViolationFileDetail[],
|
||||
total_elements: number,
|
||||
total_pages: number,
|
||||
current_page: number,
|
||||
page_size: number,
|
||||
has_next: boolean,
|
||||
has_previous: boolean
|
||||
violations: ViolationFileDetail[];
|
||||
total_elements: number;
|
||||
total_pages: number;
|
||||
current_page: number;
|
||||
page_size: number;
|
||||
has_next: boolean;
|
||||
has_previous: boolean;
|
||||
}
|
||||
|
||||
export const useFileViolations = (id: string, page: number, status?: string) => {
|
||||
|
||||
Reference in New Issue
Block a user