aboutsummaryrefslogtreecommitdiff
path: root/src/routes
diff options
context:
space:
mode:
authorJakob Stendahl <jakob.stendahl@outlook.com>2022-04-27 00:32:41 +0200
committerJakob Stendahl <jakob.stendahl@outlook.com>2022-04-27 00:32:41 +0200
commit9dc247a861be845ff79ce38430ace2591d187975 (patch)
tree48295989955a9a201219368d9dd0c9a31597fbf2 /src/routes
parentd85c9433d565714daf3118533f7d7108d16927f6 (diff)
downloadAurora-data-9dc247a861be845ff79ce38430ace2591d187975.tar.gz
Aurora-data-9dc247a861be845ff79ce38430ace2591d187975.zip
Move all data fetching to a store, add spinner for loading
Diffstat (limited to 'src/routes')
-rw-r--r--src/routes/index.svelte3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/routes/index.svelte b/src/routes/index.svelte
index bf54b6a..7efda23 100644
--- a/src/routes/index.svelte
+++ b/src/routes/index.svelte
@@ -1,6 +1,9 @@
<script lang="ts">
import WeatherCurrent from '../components/WeatherCurrent.svelte';
import PredictedSpaceWeather from '../components/PredictedSpaceWeather.svelte';
+
+ //import { theme, fetchingData, fetchDataError, weatherData } from "../stores.ts";
+ //weatherData.subscribe(console.log);
</script>