-
Notifications
You must be signed in to change notification settings - Fork 7
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
ENG-5733 feat(launchpad): rewards page v0 scaffolding #1098
ENG-5733 feat(launchpad): rewards page v0 scaffolding #1098
Conversation
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.
Great job!
Hopefully some of the previous components I had from the other branch were helpful
}) => { | ||
return ( | ||
<div className="flex flex-col theme-border rounded-lg p-6 gap-4 bg-black"> | ||
{/* <div className="flex flex-col gap-1"> |
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.
If we don't need we can remove this commented code
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.
Sure, I don't think we will since the total points is listed in the component above it. We can add it back in later if needed.
@@ -93,3 +93,26 @@ export function truncateString(str: string, maxLength: number): string { | |||
} | |||
return `${str.slice(0, maxLength)}...` | |||
} | |||
|
|||
export const truncateNumber = (balance: string | number): string => { |
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.
f2f314a
to
99fe09d
Compare
Affected Packages
Apps
Packages
Tools
Overview
Overview of the changes in the PR.
Screen Captures
If applicable, add screenshots or screen captures of your changes.
Declaration