Add image display to flight logs

This commit is contained in:
april
2024-01-15 11:52:29 -06:00
parent 4b80593aa3
commit 2395bb10bf
8 changed files with 107 additions and 8 deletions

View File

@@ -58,3 +58,7 @@ function useProvideApi(apiUrl: string) {
return client;
}
export function createClient() {
return axios.create({});
}

View File

@@ -50,6 +50,8 @@ type FlightFormSchema = FlightBaseSchema & {
time_off: number | null;
time_down: number | null;
time_stop: number | null;
images: File[];
};
type FlightCreateSchema = FlightBaseSchema & {