diff --git a/src/features/staking/StakeForm.tsx b/src/features/staking/StakeForm.tsx index 4516fb3..da55f81 100644 --- a/src/features/staking/StakeForm.tsx +++ b/src/features/staking/StakeForm.tsx @@ -201,6 +201,11 @@ function GroupField({ }, [defaultGroup, helpers]); const currentGroup = addressToGroup?.[field.value]; + const groupName = currentGroup?.name + ? cleanGroupName(currentGroup.name) + : field.value + ? field.value + : 'Select group'; const sortedGroups = useMemo(() => { if (!addressToGroup) return []; @@ -237,9 +242,7 @@ function GroupField({
- - {currentGroup?.name ? cleanGroupName(currentGroup.name) : 'Select group'} - + {groupName}