Skip to content

Commit 3ba68ff

Browse files
committed
restore dsfr initialization
1 parent 4f7e343 commit 3ba68ff

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

src/start.ts

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,9 @@ export async function start(params: Params) {
3939

4040
(window as any).dsfr = { verbose, "mode": "react" };
4141

42-
console.log("do not load js");
43-
//await import("./dsfr/dsfr.module" as any);
42+
await import("./dsfr/dsfr.module" as any);
4443

45-
//const { dsfr } = window as unknown as { dsfr: { start: () => void } };
44+
const { dsfr } = window as unknown as { dsfr: { start: () => void } };
4645

47-
//registerEffectAction(() => dsfr.start());
48-
registerEffectAction(() => {
49-
/*nothing*/
50-
});
46+
registerEffectAction(() => dsfr.start());
5147
}

0 commit comments

Comments
 (0)