Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Amogh-Bharadwaj authored and iskakaushik committed Nov 19, 2024
1 parent ffde67d commit 360991f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ui/app/peers/[peerName]/lagGraph.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 360991f

Please sign in to comment.