-
Notifications
You must be signed in to change notification settings - Fork 110
Replace BigInt literals with BigInt() function calls #342
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-Authored-By: sahil.lavingia@gmail.com <sahil.lavingia@gmail.com>
Original prompt from sahil.lavingia@gmail.com:
|
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Join our Discord community for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ BugBot reviewed your changes and found no bugs!
Was this report helpful? Give feedback by reacting with 👍 or 👎
Replace BigInt literals with BigInt() function calls
This PR replaces all instances of BigInt literals (e.g.,
0n
,50n
,1500n
) with their equivalentBigInt()
function calls (e.g.,BigInt(0)
,BigInt(50)
,BigInt(1500)
) throughout the frontend codebase for consistency.Changes
Motivation
As discussed in Slack, this change improves code consistency and helps prevent confusion for both humans and AI when working with the codebase.
Files Changed
invoices/index.tsx
,invoices/[id]/page.tsx
,invoices/page.tsx
)invoices.ts
,equityGrants.ts
,capTable.ts
)schema.ts
)FinancialOverview.tsx
,cap_table/page.tsx
)Link to Devin run: https://app.devin.ai/sessions/42d5e14d08a74844bb627393e5ef6d09
Requested by: sahil.lavingia@gmail.com