feat: polish app (#669)

This commit is contained in:
Cafe137
2024-07-17 06:49:22 -07:00
committed by GitHub
parent b4ebfc7c3f
commit 8558860f0a
18 changed files with 304 additions and 417 deletions
@@ -72,7 +72,7 @@ export function PostageStampAdvancedCreation({ onFinished }: Props): ReactElemen
return `${secondsToTimeString(
convertAmountToSeconds(amount, pricePerBlock),
)} (with price of ${pricePerBlock.toFixed(0)} per block)`
)} (with price of ${pricePerBlock.toFixed(0)} PLUR per block)`
}
function getPrice(depth: number, amount: bigint): string {
@@ -67,7 +67,7 @@ export function PostageStampStandardCreation({ onFinished }: Props): ReactElemen
return `${secondsToTimeString(
convertAmountToSeconds(parseInt(amount, 10), pricePerBlock),
)} (with price of ${pricePerBlock.toFixed(0)} per block)`
)} (with price of ${pricePerBlock.toFixed(0)} PLUR per block)`
}
function getPrice(depth: number, amount: bigint): string {
@@ -196,7 +196,7 @@ export function PostageStampStandardCreation({ onFinished }: Props): ReactElemen
</Box>
<Box display="flex" justifyContent={'right'} mt={0.5}>
<Typography style={{ fontSize: '10px', color: 'rgba(0, 0, 0, 0.26)' }}>
Current price of 24000 per block
Current price of 24000 PLUR per block
</Typography>
</Box>
</Box>