mirror of
https://github.com/danbulant/Portfolio
synced 2026-07-09 04:51:09 +00:00
fix: formatting
This commit is contained in:
parent
ece2d12555
commit
4d060a62fd
1 changed files with 28 additions and 29 deletions
|
|
@ -1,24 +1,23 @@
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import LL from '$i18n/i18n-svelte';
|
import LL from '$i18n/i18n-svelte';
|
||||||
|
|
||||||
import type { School } from '$lib/stores/candidate';
|
import type { School } from '$lib/stores/candidate';
|
||||||
// TODO
|
// TODO
|
||||||
// import AutoComplete from 'simple-svelte-autocomplete';
|
// import AutoComplete from 'simple-svelte-autocomplete';
|
||||||
import { onMount } from 'svelte';
|
import { onMount } from 'svelte';
|
||||||
// import schoollistString from '$lib/assets/schoollist.txt';
|
// import schoollistString from '$lib/assets/schoollist.txt';
|
||||||
|
|
||||||
let schools: string[] = [];
|
let schools: string[] = [];
|
||||||
|
|
||||||
onMount(async () => {
|
onMount(async () => {
|
||||||
schools = await fetch('/schoollist.txt')
|
schools = await fetch('/schoollist.txt')
|
||||||
.then((response) => response.text())
|
.then((response) => response.text())
|
||||||
.then((text) => text.split(';'));
|
.then((text) => text.split(';'));
|
||||||
});
|
});
|
||||||
|
|
||||||
export let selectedSchool: School;
|
|
||||||
export let schoolName: string = selectedSchool.name;
|
|
||||||
$: selectedSchool.name = schoolName;
|
|
||||||
|
|
||||||
|
export let selectedSchool: School;
|
||||||
|
export let schoolName: string = selectedSchool.name;
|
||||||
|
$: selectedSchool.name = schoolName;
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="flex flex-row">
|
<div class="flex flex-row">
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue