Skip to content

Commit c48fb9b

Browse files
committed
style: 💄 prefer const
1 parent f240bdd commit c48fb9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/web3/adl/feed-crdt/Feed.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ export class Feed implements types.FeedApi, SyncStore<types.FeedOpInsert[]> {
185185
if (!this.head) throw new Error('INVALID_STATE');
186186
const frames = await Feed.merge(this.deps.cas, this.head.cid, forkCid, this.opsPerFrame);
187187
for (const frame of frames) this.ingestFrameData(frame, true);
188-
let head = frames[frames.length - 1];
188+
const head = frames[frames.length - 1];
189189
let curr = head;
190190
for (let i = frames.length - 2; i >= 0; i--) {
191191
curr.prev = frames[i];

0 commit comments

Comments
 (0)