mirror of
https://github.com/danbulant/Portfolio
synced 2026-06-24 17:11:49 +00:00
refactor: SchoolJson type
This commit is contained in:
parent
ca09a35493
commit
3e6fd277f1
1 changed files with 2 additions and 2 deletions
|
|
@ -18,7 +18,7 @@
|
||||||
import parsePhoneNumber from 'libphonenumber-js';
|
import parsePhoneNumber from 'libphonenumber-js';
|
||||||
import { createForm } from 'svelte-forms-lib';
|
import { createForm } from 'svelte-forms-lib';
|
||||||
import * as yup from 'yup';
|
import * as yup from 'yup';
|
||||||
import type { CandidateData } from '$lib/stores/candidate';
|
import type { CandidateData, SchoolJson } from '$lib/stores/candidate';
|
||||||
import AccountLinkCheckBox from '$lib/components/checkbox/AccountLinkCheckBox.svelte';
|
import AccountLinkCheckBox from '$lib/components/checkbox/AccountLinkCheckBox.svelte';
|
||||||
import GradesTable from '$lib/components/grades/GradesTable.svelte';
|
import GradesTable from '$lib/components/grades/GradesTable.svelte';
|
||||||
import SchoolSelect from '$lib/components/select/SchoolSelect/SchoolSelect.svelte';
|
import SchoolSelect from '$lib/components/select/SchoolSelect/SchoolSelect.svelte';
|
||||||
|
|
@ -37,7 +37,7 @@
|
||||||
import countriesList from '$lib/assets/list/countries.json';
|
import countriesList from '$lib/assets/list/countries.json';
|
||||||
|
|
||||||
// const schoolList = highSchoolList.map((school) => school['n']);
|
// const schoolList = highSchoolList.map((school) => school['n']);
|
||||||
const schoolNames = schoolList.map((school) => school['n']);
|
const schoolNames = schoolList.map((school: SchoolJson) => school['n']);
|
||||||
|
|
||||||
let pageIndex = 0;
|
let pageIndex = 0;
|
||||||
let pagesFilled = [false, false, false, false, false, false, false, false];
|
let pagesFilled = [false, false, false, false, false, false, false, false];
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue