Skip to content

Commit e2f04cb

Browse files
committed
refactor(web): fix styling
1 parent 27c15ff commit e2f04cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

subgraph/src/KlerosCore.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,8 @@ function updateDataPoint(delta: BigInt, timestamp: BigInt, entityName: string):
174174
counter = new Entity();
175175
counter.set("value", Value.fromBigInt(BigInt.fromI32(0)));
176176
}
177-
let dayID = timestamp.toI32() / 86400
178-
let dayStartTimestamp = dayID * 86400
177+
const dayID = timestamp.toI32() / 86400;
178+
const dayStartTimestamp = dayID * 86400;
179179
const newValue = counter.get("value")!.toBigInt().plus(delta);
180180
const newDataPoint = new Entity();
181181
newDataPoint.set("value", Value.fromBigInt(newValue));

0 commit comments

Comments
 (0)