This commit is contained in:
Timothy Jaeryang Baek committed 2026-10-12 11:16:56 +04:00
1 parent 2eb77fc27f
commit d786ed56c9
7 files changed
+14 -8

No files matched your search

@@ -1,4 +1,5 @@
<script lang="ts">
import { v4 as uuidv4 } from 'uuid';
import { getContext, onDestroy } from 'svelte';
import {
AVATAR_MAX_BYTES,
@@ -39,7 +40,7 @@
error = $i18n.t('Choose a VRMA file, up to 10 MiB.');
return;
}
const id = crypto.randomUUID();
const id = uuidv4();
animationFiles = { ...animationFiles, [id]: selected };
if (typeof animationTarget === 'number') {
value = {