Skip to content
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

RED-355: Min Requirement should show how much stake is required, not how much is left #54

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/molecules/AddStakeModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export const AddStakeModal = () => {
>
<span>Minimum stake requirement: </span>
<span className="font-semibold">
{minimumStakeRequirement.toFixed(0)} SHM
{nodeStatus?.stakeRequirement || "10"} SHM
</span>
</div>
{data?.formatted && (
Expand Down
4 changes: 3 additions & 1 deletion components/molecules/StakeDisplay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ export const StakeDisplay = () => {
</span>
<div className="flex gap-x-1">
<span className="font-light text-xs">Min. requirement: </span>
<span className="text-xs">{minimumStakeRequirement} SHM</span>
<span className="text-xs">
{nodeStatus?.stakeRequirement || "10"} SHM
</span>
</div>
</div>
<hr className="my-1 mx-3" />
Expand Down
2 changes: 1 addition & 1 deletion pages/onboarding/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ const Onboarding = () => {
>
<span>Minimum stake requirement: </span>
<span className="font-semibold">
{minimumStakeRequirement.toFixed(0)} SHM
{nodeStatus?.stakeRequirement || "10"} SHM
</span>
</div>
{accountBalance !== "" && (
Expand Down