From ea7eef01f442eb676cb04ff37ca05422d85741f5 Mon Sep 17 00:00:00 2001 From: truemiller Date: Wed, 21 Aug 2024 13:25:33 +0100 Subject: [PATCH 1/3] fix: missed minimum required olas string --- .../ManageStakingPage/StakingContractSection/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/components/ManageStakingPage/StakingContractSection/index.tsx b/frontend/components/ManageStakingPage/StakingContractSection/index.tsx index b8fdf664c..d10180fd9 100644 --- a/frontend/components/ManageStakingPage/StakingContractSection/index.tsx +++ b/frontend/components/ManageStakingPage/StakingContractSection/index.tsx @@ -136,7 +136,7 @@ export const StakingContractSection = ({ } if (!hasEnoughOlasToMigrate) { - return 'Insufficient OLAS balance to migrate, need ${}'; + return `Insufficient OLAS balance to migrate, ${minimumOlasRequiredToMigrate} OLAS minimum required.`; } if (!isAppVersionCompatible) { From bb6eef73882e5796dc5b046d672086b11c25d93d Mon Sep 17 00:00:00 2001 From: Josh Miller <31908788+truemiller@users.noreply.github.com> Date: Wed, 21 Aug 2024 13:27:05 +0100 Subject: [PATCH 2/3] refactor: wordiness --- .../ManageStakingPage/StakingContractSection/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/components/ManageStakingPage/StakingContractSection/index.tsx b/frontend/components/ManageStakingPage/StakingContractSection/index.tsx index d10180fd9..9302ef843 100644 --- a/frontend/components/ManageStakingPage/StakingContractSection/index.tsx +++ b/frontend/components/ManageStakingPage/StakingContractSection/index.tsx @@ -136,7 +136,7 @@ export const StakingContractSection = ({ } if (!hasEnoughOlasToMigrate) { - return `Insufficient OLAS balance to migrate, ${minimumOlasRequiredToMigrate} OLAS minimum required.`; + return `Insufficient OLAS balance to migrate, ${minimumOlasRequiredToMigrate} OLAS required.`; } if (!isAppVersionCompatible) { From fba4aacac0ffee7729363f009242090e35614e57 Mon Sep 17 00:00:00 2001 From: Josh Miller <31908788+truemiller@users.noreply.github.com> Date: Wed, 21 Aug 2024 13:27:45 +0100 Subject: [PATCH 3/3] Update index.tsx --- .../ManageStakingPage/StakingContractSection/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/components/ManageStakingPage/StakingContractSection/index.tsx b/frontend/components/ManageStakingPage/StakingContractSection/index.tsx index 9302ef843..363f7ce55 100644 --- a/frontend/components/ManageStakingPage/StakingContractSection/index.tsx +++ b/frontend/components/ManageStakingPage/StakingContractSection/index.tsx @@ -136,7 +136,7 @@ export const StakingContractSection = ({ } if (!hasEnoughOlasToMigrate) { - return `Insufficient OLAS balance to migrate, ${minimumOlasRequiredToMigrate} OLAS required.`; + return `Insufficient OLAS to migrate, ${minimumOlasRequiredToMigrate} OLAS required in total.`; } if (!isAppVersionCompatible) {