diff --git a/frontend/src/lib/@api/candidate.ts b/frontend/src/lib/@api/candidate.ts index 3515c41..61fde39 100644 --- a/frontend/src/lib/@api/candidate.ts +++ b/frontend/src/lib/@api/candidate.ts @@ -125,7 +125,7 @@ export const apiUploadCoverLetter = async ( export const apiDeleteCoverLetter = async (): Promise => { try { await axios.delete(API_URL + '/candidate/remove/cover_letter', { - withCredentials: true, + withCredentials: true }); return true; } catch (e) { @@ -155,7 +155,7 @@ export const apiUploadPortfolioLetter = async ( export const apiDeletePortfolioLetter = async (): Promise => { try { await axios.delete(API_URL + '/candidate/remove/portfolio_letter', { - withCredentials: true, + withCredentials: true }); return true; } catch (e) { @@ -185,7 +185,7 @@ export const apiUploadPortfolioZip = async ( export const apiDeletePortfolioZip = async (): Promise => { try { await axios.delete(API_URL + '/candidate/remove/portfolio_zip', { - withCredentials: true, + withCredentials: true }); return true; } catch (e) { diff --git a/frontend/src/lib/@api/index.ts b/frontend/src/lib/@api/index.ts index 4c91982..70528f9 100644 --- a/frontend/src/lib/@api/index.ts +++ b/frontend/src/lib/@api/index.ts @@ -11,4 +11,4 @@ export interface ApiError { export const errorHandler = (error: AxiosError | unknown, msg: string): ApiError => { return { error, msg }; -} +}; diff --git a/frontend/src/lib/components/admin/list/CandidateDetails.svelte b/frontend/src/lib/components/admin/list/CandidateDetails.svelte index b80b93e..32e3a73 100644 --- a/frontend/src/lib/components/admin/list/CandidateDetails.svelte +++ b/frontend/src/lib/components/admin/list/CandidateDetails.svelte @@ -72,7 +72,7 @@ PohlavĂ­ - {candidate.sex ?? "NEUVEDENO"} + {candidate.sex ?? 'NEUVEDENO'} @@ -100,7 +100,7 @@ - {/each} + {/each}
diff --git a/frontend/src/lib/components/button/Submit.svelte b/frontend/src/lib/components/button/Submit.svelte index fc50c35..111a429 100644 --- a/frontend/src/lib/components/button/Submit.svelte +++ b/frontend/src/lib/components/button/Submit.svelte @@ -7,8 +7,8 @@ diff --git a/frontend/src/lib/components/checkbox/GdprCheckBox.svelte b/frontend/src/lib/components/checkbox/GdprCheckBox.svelte index 50ac4b3..5785e6e 100644 --- a/frontend/src/lib/components/checkbox/GdprCheckBox.svelte +++ b/frontend/src/lib/components/checkbox/GdprCheckBox.svelte @@ -4,19 +4,8 @@ export let error: string = ''; - -