summaryrefslogtreecommitdiff
path: root/packages/frontend/src/utility/theme-editor.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/frontend/src/utility/theme-editor.ts')
-rw-r--r--packages/frontend/src/utility/theme-editor.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/frontend/src/utility/theme-editor.ts b/packages/frontend/src/utility/theme-editor.ts
index ea07e5f2ff..74175703c3 100644
--- a/packages/frontend/src/utility/theme-editor.ts
+++ b/packages/frontend/src/utility/theme-editor.ts
@@ -3,7 +3,7 @@
* SPDX-License-Identifier: AGPL-3.0-only
*/
-import { v4 as uuid } from 'uuid';
+import { genId } from '@/utility/id.js';
import type { Theme } from '@/theme.js';
import { themeProps } from '@/theme.js';
@@ -66,7 +66,7 @@ export const convertToMisskeyTheme = (vm: ThemeViewModel, name: string, desc: st
}
return {
- id: uuid(),
+ id: genId(),
name, desc, author, props, base,
};
};