Skip to content

fix: resolve 2 bugs in Legiflow - #557

Closed
saurabhhhcodes wants to merge 1 commit into
bishal2623:mainfrom
saurabhhhcodes:fix/Legiflow-50675
Closed

fix: resolve 2 bugs in Legiflow#557
saurabhhhcodes wants to merge 1 commit into
bishal2623:mainfrom
saurabhhhcodes:fix/Legiflow-50675

Conversation

@saurabhhhcodes

Copy link
Copy Markdown

Description

This PR fixes real bugs found in the codebase:

  • Replaced new Date().getTime() with Date.now(): identical result with less allocation.
  • Added Number.EPSILON to Math.round: prevents floating-point drift (e.g. 1.005 * 100 rounding to 100 instead of 101).

Type of Change

  • Bug fix (non-breaking change fixing an issue)

How Has This Been Tested?

  • Local manual testing

Checklist

  • My code follows the style guidelines
  • I have performed a self-review

Related Issue

Ref: #556

@vercel

vercel Bot commented Aug 7, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the bishal2623's projects Team on Vercel.

A member of the Team first needs to authorize it.

@netlify

netlify Bot commented Aug 7, 2026

Copy link
Copy Markdown

Deploy Preview for incredible-unicorn-0fd657 ready!

Name Link
🔨 Latest commit ec8f88d
🔍 Latest deploy log https://app.netlify.com/projects/incredible-unicorn-0fd657/deploys/6a75bf4e7b42600008564d07
😎 Deploy Preview https://deploy-preview-557--incredible-unicorn-0fd657.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Aug 7, 2026

Copy link
Copy Markdown

Deploy Preview for frolicking-empanada-1ee811 failed.

Name Link
🔨 Latest commit ec8f88d
🔍 Latest deploy log https://app.netlify.com/projects/frolicking-empanada-1ee811/deploys/6a75bf4e6098690008464501

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants