From 78b99855185b08a0925086bd5de6cab4717eebd4 Mon Sep 17 00:00:00 2001 From: dekanbro Date: Thu, 16 Nov 2023 08:02:46 -0700 Subject: [PATCH] increase min length of token symbols on summoner form --- apps/summon/src/layouts/StakeTokenSegment.tsx | 8 ++++---- libs/utils/src/constants/summoning.ts | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/summon/src/layouts/StakeTokenSegment.tsx b/apps/summon/src/layouts/StakeTokenSegment.tsx index 99878247..0d2308eb 100644 --- a/apps/summon/src/layouts/StakeTokenSegment.tsx +++ b/apps/summon/src/layouts/StakeTokenSegment.tsx @@ -62,9 +62,9 @@ export const StakeTokensSegment = ({ rules={{ required: 'Token symbol is required', maxLength: { - value: 5, + value: 20, message: - 'Token symbol cannot be longer than 5 characters', + 'Token symbol cannot be longer than 20 characters', }, }} /> @@ -100,9 +100,9 @@ export const StakeTokensSegment = ({ rules={{ required: 'Token symbol is required', maxLength: { - value: 5, + value: 20, message: - 'Token symbol cannot be longer than 5 characters', + 'Token symbol cannot be longer than 20 characters', }, }} /> diff --git a/libs/utils/src/constants/summoning.ts b/libs/utils/src/constants/summoning.ts index 5ef772d7..bc12a5a7 100644 --- a/libs/utils/src/constants/summoning.ts +++ b/libs/utils/src/constants/summoning.ts @@ -8,7 +8,7 @@ export const SUMMON_COPY = { VOTING_STK: 'What does your DAO want to name the tokens representing voting stake?', TOKEN_SYMBOL: - 'How would your DAO like to abbreviate the tokens representing voting stake?', + 'How would your DAO like to abbreviate the tokens representing voting stake? (20 letters max)', STAKE_TRANSFER: 'Should DAO members be allowed to transfer voting stake to other accounts? After summoning, the DAO can change this with a proposal.', NV_STAKE_TRANSFER: