diff options
| author | Adam Soltys <[email protected]> | 2023-12-01 23:55:25 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-12-01 23:55:25 -0800 |
| commit | 38ba5cb660fb093bca1a621c364f0f385659a0b4 (patch) | |
| tree | b0606dfaae90a488952096aad8f4ca90ae3118e8 /src/components/About.svelte | |
| parent | 216a600224fde22ce76b367557a02094ec693886 (diff) | |
| download | coinos-ui-38ba5cb660fb093bca1a621c364f0f385659a0b4.tar.gz coinos-ui-38ba5cb660fb093bca1a621c364f0f385659a0b4.zip | |
change component imports
Diffstat (limited to 'src/components/About.svelte')
| -rw-r--r-- | src/components/About.svelte | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/src/components/About.svelte b/src/components/About.svelte index 6e0cdcb5..0087e350 100644 --- a/src/components/About.svelte +++ b/src/components/About.svelte @@ -1,16 +1,8 @@ <script> import { onMount } from "svelte"; - - let locations; - onMount(async () => { - try { - ({ locations } = await fetch("/locations").then((r) => r.json())); - } catch (e) { - console.log(e); - } - }); - - import { Image, Icon, LocationsMap } from "$comp"; + import Icon from "$comp/Icon.svelte"; + import Image from "$comp/Image.svelte"; + import LocationsMap from "$comp/LocationsMap.svelte"; import { t } from "$lib/translations"; let team = [ @@ -31,6 +23,15 @@ }, { name: "cole", socials: [] }, ]; + + let locations; + onMount(async () => { + try { + ({ locations } = await fetch("/locations").then((r) => r.json())); + } catch (e) { + console.log(e); + } + }); </script> <div class="flex justify-center"> |
