Skip to content

Commit

Permalink
Do not set state
Browse files Browse the repository at this point in the history
  • Loading branch information
rzats committed Jun 25, 2024
1 parent 8a887c9 commit af105da
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/modes/indicator/IndicatorAbout.svelte
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<script>
import { modeByID } from '..';
import { formatDateISO } from '../../formats';
import { currentMode } from '../../stores';
import AboutSection from '../../components/AboutSection.svelte';
/**
Expand All @@ -17,11 +15,6 @@
*/
export let sensor;
function setExportMode() {
// switch to export mode
currentMode.set(modeByID.export);
}
let exportURL = '';
$: {
exportURL = '';
Expand Down Expand Up @@ -59,7 +52,7 @@
</li>
{/each}
<li>
<a href={`../export/?${exportURL}`} on:click={setExportMode}>Export Data</a>
<a href={`../export/?${exportURL}`}>Export Data</a>
</li>
</ul>
{/if}
Expand Down

0 comments on commit af105da

Please sign in to comment.