Closed aybanda closed 1 month ago
@aybanda Thank you for this, looks good! Two things:
Cheers, ~LB-Founders
@lb-founders updated it 👍
@aybanda merging in.
Just do "Claim Reward" on the app (instructions here) to claim those sats.
Thanks for the contribution. Hope to see you again
@sutt This PR introduces environment variable-based display options for the Price component, allowing for flexible formatting of amounts.
Changes Made
Price Component: Updated to format amounts based on the REACT_APP_DISPLAY_OPTION environment variable.
Short Format: Displays amounts in thousands (e.g., 12k).
Text Format: Displays amounts with commas followed by "sats" (e.g., 12,000 sats).
Default Format: Displays amounts with commas (e.g., 12,000).
tsconfig.json: Minor adjustments to accommodate the changes.
Testing: Verified that the component displays correctly for all defined display options.
Usage: Set the environment variable in your .env file: REACT_APP_DISPLAY_OPTION=short
Tips appreciated https://buymeacoffee.com/aybanda
close #1