Refactor: Bereinige von nicht genutzten Variablen

This commit is contained in:
2022-01-10 14:17:43 +01:00
parent cf50607f43
commit efadeb501b
3 changed files with 3 additions and 7 deletions
+3 -3
View File
@@ -1,10 +1,10 @@
<script>
import List from "./WorkingHours/List.svelte";
import Formular from "./WorkingHours/Formular.svelte";
export let params = {};
let TITLE = "Bearbeitung Einträge"
let activeRecord = null;
let newRecord = false;
</script>
<svelte:head>
@@ -17,7 +17,7 @@
<h1>{TITLE}</h1>
</header>
<article>
<List bind:activeRecord={activeRecord} bind:newRecord={newRecord}/>
<List bind:activeRecord={activeRecord}/>
</article>
</section>
{:else}
@@ -26,7 +26,7 @@
<h1>{TITLE}</h1>
</header>
<article>
<Formular bind:activeRecord={activeRecord} bind:newRecord={newRecord}/>
<Formular bind:activeRecord={activeRecord}/>
</article>
</section>
{/if}