diff --git a/src/lotus/lotusDecorations.ts b/src/lotus/lotusDecorations.ts index de9407d2..e8c86c76 100644 --- a/src/lotus/lotusDecorations.ts +++ b/src/lotus/lotusDecorations.ts @@ -84,7 +84,7 @@ export function startLotusDecorations(): () => void { emit(); }; w.lazyActions.on(LotusWidgetActions.Decorations, handler); - unregister = () => + unregister = (): void => w.lazyActions.off(LotusWidgetActions.Decorations, handler); } registrations += 1;