chore: improve readability 2

This commit is contained in:
Su-Yong
2025-10-12 14:34:36 +09:00
parent ffa61687bf
commit b8e0d53ef3
6 changed files with 48 additions and 47 deletions

View File

@ -3,4 +3,4 @@ import { customElement, type ComponentType } from 'solid-element';
export const anonymousCustomElement = <T extends object>(
ComponentType: ComponentType<T>,
): CustomElementConstructor =>
customElement(`ytmd-${crypto.randomUUID()}`, ComponentType);
customElement(`pear-${crypto.randomUUID()}`, ComponentType);