Skip to content

Commit a6b165d

Browse files
committed
Fixed indentation. Removed abandoned code
1 parent 76aa101 commit a6b165d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/scripts/App.svelte

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
import InputArea from './InputArea.svelte'
77
import Tags from './Tags.svelte'
88
import OutputArea from './OutputArea.svelte'
9-
import { text } from 'svelte/internal';
109
1110
let time = new Date()
1211
let hours = 0
@@ -79,8 +78,8 @@
7978
}
8079
8180
function removeSpanByIndex(_) {
82-
markup.spans.splice(_.detail, 1)
83-
markup = markup
81+
markup.spans.splice(_.detail, 1)
82+
markup = markup
8483
}
8584
8685
onMount(() => {
@@ -93,6 +92,7 @@
9392

9493
<div class="header">
9594
<h1>Put your text here</h1>
95+
<h5>Select the text in</h5>
9696

9797
{#if selectedTag == BIO.NEW}
9898
<div class="new-tag">
@@ -105,7 +105,6 @@
105105
{/if}
106106
</div>
107107

108-
109108
<InputArea bind:tag={selectedTag} on:textChanged={_ => markup = {...markup, text: _.detail}} on:selectionChanged={processSelection} bind:value={markup.text}/>
110109

111110
{#if markup.spans.length}

0 commit comments

Comments
 (0)