From 98c9325fc512198d58789531811eae94bf9a5b1a Mon Sep 17 00:00:00 2001 From: Amogh-Bharadwaj Date: Mon, 18 Nov 2024 22:11:25 +0530 Subject: [PATCH] lint --- ui/app/peers/[peerName]/lagGraph.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ui/app/peers/[peerName]/lagGraph.tsx b/ui/app/peers/[peerName]/lagGraph.tsx index 3afe75d4b..d971bee8f 100644 --- a/ui/app/peers/[peerName]/lagGraph.tsx +++ b/ui/app/peers/[peerName]/lagGraph.tsx @@ -24,9 +24,7 @@ function parseLSN(lsn: string): number { const parsedLsn1 = parseInt(lsn1, 16); const parsedLsn2 = parseInt(lsn2, 16); if (isNaN(parsedLsn1) || isNaN(parsedLsn2)) return 0; - return Number( - (BigInt(parsedLsn1) << BigInt(32)) | BigInt(parsedLsn2) - ); + return Number((BigInt(parsedLsn1) << BigInt(32)) | BigInt(parsedLsn2)); } export default function LagGraph({ peerName }: LagGraphProps) {