mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-13 11:21:46 +00:00
chore: improve readability 2
This commit is contained in:
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user