mirror of
https://github.com/danbulant/Portfolio
synced 2026-06-24 17:11:49 +00:00
fix: default types for candidateData store, remove ignores
This commit is contained in:
parent
15130b1b92
commit
9cf92c4a63
2 changed files with 4 additions and 3 deletions
|
|
@ -43,4 +43,7 @@ export interface CreateCandidateLogin extends CreateCandidate {
|
||||||
password: string;
|
password: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export const candidateData = writable<CandidateData>({});
|
export const candidateData = writable<CandidateData>({
|
||||||
|
candidate: {},
|
||||||
|
parents: []
|
||||||
|
});
|
||||||
|
|
|
||||||
|
|
@ -23,9 +23,7 @@
|
||||||
// TODO: transition
|
// TODO: transition
|
||||||
let showDetails = false;
|
let showDetails = false;
|
||||||
|
|
||||||
// @ts-ignore
|
|
||||||
$: candidateData.set(data.candidate);
|
$: candidateData.set(data.candidate);
|
||||||
// @ts-ignore
|
|
||||||
$: submissionProgress.set(data.submission);
|
$: submissionProgress.set(data.submission);
|
||||||
|
|
||||||
const getUploadStatus = (progressStatus: UploadStatus | undefined): Status => {
|
const getUploadStatus = (progressStatus: UploadStatus | undefined): Status => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue