prettier - auto
This commit is contained in:
parent
c3cb67cc3a
commit
fd810c9910
|
@ -213,18 +213,16 @@ const _setup = (
|
|||
continue
|
||||
}
|
||||
|
||||
let paramValueSource;
|
||||
let paramValueSource
|
||||
|
||||
if (paramBinding.source === "context") paramValueSource = context;
|
||||
if (paramBinding.source === "state") paramValueSource = getCurrentState();
|
||||
if (paramBinding.source === "context") paramValueSource = context;
|
||||
if (paramBinding.source === "context") paramValueSource = context
|
||||
if (paramBinding.source === "state")
|
||||
paramValueSource = getCurrentState()
|
||||
if (paramBinding.source === "context") paramValueSource = context
|
||||
|
||||
// The new dynamic event parameter bound to the relevant source
|
||||
resolvedParams[paramName] = () => getState(
|
||||
paramValueSource,
|
||||
paramBinding.path,
|
||||
paramBinding.fallback
|
||||
);
|
||||
resolvedParams[paramName] = () =>
|
||||
getState(paramValueSource, paramBinding.path, paramBinding.fallback)
|
||||
}
|
||||
|
||||
handlerInfo.parameters = resolvedParams
|
||||
|
|
Loading…
Reference in New Issue