We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f7e343 commit 3ba68ffCopy full SHA for 3ba68ff
src/start.ts
@@ -39,13 +39,9 @@ export async function start(params: Params) {
39
40
(window as any).dsfr = { verbose, "mode": "react" };
41
42
- console.log("do not load js");
43
- //await import("./dsfr/dsfr.module" as any);
+ await import("./dsfr/dsfr.module" as any);
44
45
- //const { dsfr } = window as unknown as { dsfr: { start: () => void } };
+ const { dsfr } = window as unknown as { dsfr: { start: () => void } };
46
47
- //registerEffectAction(() => dsfr.start());
48
- registerEffectAction(() => {
49
- /*nothing*/
50
- });
+ registerEffectAction(() => dsfr.start());
51
}
0 commit comments