Skip to content

Commit 2e3a6a1

Browse files
committed
stale change
1 parent a1dc4c2 commit 2e3a6a1

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

Diff for: packages/base/links-to-many-component.gts

+4-7
Original file line numberDiff line numberDiff line change
@@ -395,13 +395,10 @@ export function getLinksToManyComponent({
395395
boxedElement: Box<BaseDef>,
396396
): typeof BaseDef;
397397
}): BoxComponent {
398-
let getComponents = () => {
399-
// console.log('hi');
400-
// let box = getBoxComponent(arrayField);
401-
return arrayField.children.map((child) => {
402-
return getBoxComponent(cardTypeFor(field, child), child, field);
403-
}); // Wrap the the components in a function so that the template is reactive to changes in the model (this is essentially a helper)
404-
};
398+
let getComponents = () =>
399+
arrayField.children.map((child) =>
400+
getBoxComponent(cardTypeFor(field, child), child, field),
401+
); // Wrap the the components in a function so that the template is reactive to changes in the model (this is essentially a helper)
405402
let isComputed = !!field.computeVia;
406403
let linksToManyComponent = class LinksToManyComponent extends GlimmerComponent<BoxComponentSignature> {
407404
<template>

0 commit comments

Comments
 (0)