diff options
author | Jakob Stendahl <jakob.stendahl@outlook.com> | 2022-04-27 00:32:41 +0200 |
---|---|---|
committer | Jakob Stendahl <jakob.stendahl@outlook.com> | 2022-04-27 00:32:41 +0200 |
commit | 9dc247a861be845ff79ce38430ace2591d187975 (patch) | |
tree | 48295989955a9a201219368d9dd0c9a31597fbf2 /src/routes | |
parent | d85c9433d565714daf3118533f7d7108d16927f6 (diff) | |
download | Aurora-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.svelte | 3 |
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> |