|
<script>
|
|
import { currentChartID } from './stores';
|
|
import ChartEdit from './ChartEdit.svelte';
|
|
import ChartCreation from './ChartCreation.svelte';
|
|
</script>
|
|
|
|
<main>
|
|
{#if $currentChartID}
|
|
<ChartEdit/>
|
|
{:else}
|
|
<ChartCreation/>
|
|
{/if}
|
|
</main>
|
|
|
|
<style>
|
|
</style> |