mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-13 07:04:39 +00:00
feat(Store): added store page
This commit is contained in:
@@ -3,7 +3,7 @@ import { mount } from 'svelte';
|
||||
import type { ComponentType } from 'svelte';
|
||||
|
||||
export default function renderSvelte(
|
||||
Component: ComponentType,
|
||||
Component: ComponentType | any,
|
||||
mountPoint: ShadowRoot | HTMLElement,
|
||||
props: Record<string, any> = {}
|
||||
) {
|
||||
@@ -19,6 +19,5 @@ export default function renderSvelte(
|
||||
style.setAttribute("type", "text/css");
|
||||
style.innerHTML = styles;
|
||||
mountPoint.appendChild(style);
|
||||
|
||||
return app;
|
||||
}
|
||||
Reference in New Issue
Block a user