Skip to content

Commit a1234d4

Browse files
seefeldbCopilot
andauthored
Avoid redundant resolveLink call
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent cac02c6 commit a1234d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/runner/src/cell.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@ export class RegularCell<T> implements Cell<T> {
652652

653653
resolveAsCell(): Cell<T> {
654654
const link = resolveLink(this.runtime.readTx(this.tx), this.link);
655-
return createCell(this.runtime, link, this.tx, false, this.synced);
655+
return createCell(this.runtime, link, this.tx, true, this.synced);
656656
}
657657

658658
getAsQueryResult<Path extends PropertyKey[]>(

0 commit comments

Comments
 (0)