diff --git a/packages/signalizejs/src/modules/directives.js b/packages/signalizejs/src/modules/directives.js index dfa7a6f..0952316 100755 --- a/packages/signalizejs/src/modules/directives.js +++ b/packages/signalizejs/src/modules/directives.js @@ -263,7 +263,9 @@ export default async ($, config) => { ...trackedSignals, { get, value, - set: (value) => trackedSignals[trackedSignals.length - 1](value) ?? null + set: (value) => { + trackedSignals[trackedSignals.length - 1]?.(value) + } } ] });