We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a887c9 commit af105daCopy full SHA for af105da
src/modes/indicator/IndicatorAbout.svelte
@@ -1,7 +1,5 @@
1
<script>
2
- import { modeByID } from '..';
3
import { formatDateISO } from '../../formats';
4
- import { currentMode } from '../../stores';
5
import AboutSection from '../../components/AboutSection.svelte';
6
7
/**
@@ -17,11 +15,6 @@
17
15
*/
18
16
export let sensor;
19
20
- function setExportMode() {
21
- // switch to export mode
22
- currentMode.set(modeByID.export);
23
- }
24
-
25
let exportURL = '';
26
$: {
27
exportURL = '';
@@ -59,7 +52,7 @@
59
52
</li>
60
53
{/each}
61
54
<li>
62
- <a href={`../export/?${exportURL}`} on:click={setExportMode}>Export Data</a>
55
+ <a href={`../export/?${exportURL}`}>Export Data</a>
63
56
64
57
</ul>
65
58
{/if}
0 commit comments