File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed
Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 11<script lang =" ts" >
2+ export const prerender = false ;
23 import ApexCharts from ' apexcharts' ;
34 import { onMount } from ' svelte' ;
45
Original file line number Diff line number Diff line change 11<script lang =" ts" >
2+ export const prerender = false ;
23 import ApexCharts from ' apexcharts' ;
34 import { onMount } from ' svelte' ;
45 type Props = {
Original file line number Diff line number Diff line change 22 import { MAX_DURATION , HOUR , DAY } from ' ~/lib/consts' ;
33 import Dashboard from ' ~/pages/Dashboard.svelte' ;
44 import { type Kind , type Visit } from ' ~/share/schema' ;
5- import { browser } from ' $app/environment' ;
65
76 const { data, lastFetch }: { data: Visit []; lastFetch: Date } = $props ();
87 let kind: Kind | ' all' = $state (' all' );
2827 <option value =" festival" >Festival</option >
2928 </select >
3029</header >
31- {#if browser }
32- <Dashboard data ={visits } {duration } {kind } {lastFetch } />
33- {/if }
30+ <Dashboard data ={visits } {duration } {kind } {lastFetch } />
You can’t perform that action at this time.
0 commit comments