FIX: Remove unused stuff
This commit is contained in:
@@ -1,12 +1,5 @@
|
||||
<script setup>
|
||||
import { onMounted, ref, watch } from 'vue'
|
||||
import click from '@renderer/assets/sounds/click.mp3'
|
||||
|
||||
function playClick() {
|
||||
const audio = new Audio(click)
|
||||
audio.volume = 0.01 * (1 + Math.random() * 0.75 - 0.375)
|
||||
audio.play()
|
||||
}
|
||||
|
||||
const props = defineProps({
|
||||
text: {
|
||||
@@ -74,7 +67,6 @@ function replaceContent(text = props.text, replaceInterval = props.replaceInterv
|
||||
} else {
|
||||
content.value = content.value.substring(0, content.value.length - 1)
|
||||
}
|
||||
//playClick()
|
||||
setTimeout(
|
||||
() => {
|
||||
replaceContent(text, replaceInterval, steps + 1)
|
||||
|
||||
@@ -52,7 +52,6 @@ import { ref } from 'vue'
|
||||
import UsbIcon from '@renderer/assets/logos/logoUsb.svg'
|
||||
import MidiIcon from '@renderer/assets/logos/logoMidi.svg'
|
||||
import { Badge } from '@renderer/components/ui/badge'
|
||||
import WIP from '@renderer/components/WIP.vue'
|
||||
import TabSelect from '@renderer/components/common/TabSelect.vue'
|
||||
import { Input } from '@renderer/components/ui/input'
|
||||
import { Textarea } from '@renderer/components/ui/textarea'
|
||||
|
||||
Reference in New Issue
Block a user