chore(web): move enum out of .svelte file (#14144)

* chore(web): clean up todo task

* chore(web): move enums out of .svelte file
This commit is contained in:
Alex
2024-11-14 09:41:11 -06:00
committed by GitHub
parent d6a70bc7e5
commit d1085e8a02
8 changed files with 26 additions and 31 deletions

View File

@@ -1,11 +1,5 @@
<script module lang="ts">
export enum ProgressBarStatus {
Playing = 'playing',
Paused = 'paused',
}
</script>
<script lang="ts">
import { ProgressBarStatus } from '$lib/constants';
import { handlePromiseError } from '$lib/utils';
import { onMount } from 'svelte';