mirror of
https://codeberg.org/uzu/strudel
synced 2026-07-30 16:33:19 -04:00
placate format gods
This commit is contained in:
@@ -216,7 +216,7 @@ export function repl({
|
||||
if (Object.keys(pPatterns).length) {
|
||||
let patterns = [];
|
||||
for (const [key, value] of Object.entries(pPatterns)) {
|
||||
patterns.push(value.withState(state => state.setControls({id: key})));
|
||||
patterns.push(value.withState((state) => state.setControls({ id: key })));
|
||||
}
|
||||
if (eachTransform) {
|
||||
// Explicit lambda so only element (not index and array) are passed
|
||||
|
||||
@@ -21,7 +21,7 @@ export class State {
|
||||
|
||||
// Returns new State with added controls.
|
||||
setControls(controls) {
|
||||
return new State(this.span, {...this.controls, ...controls});
|
||||
return new State(this.span, { ...this.controls, ...controls });
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user