diff --git a/apps/trading/client-pages/create-team/create-team.tsx b/apps/trading/client-pages/create-team/create-team.tsx index a67cc3516..cd2827602 100644 --- a/apps/trading/client-pages/create-team/create-team.tsx +++ b/apps/trading/client-pages/create-team/create-team.tsx @@ -18,7 +18,10 @@ import { import { useNavigate } from 'react-router-dom'; import { Links } from '../../lib/links'; import { useCreateReferralSet } from '../../lib/hooks/use-create-referral-set'; -import { addDecimalsFormatNumber } from '@vegaprotocol/utils'; +import { + addDecimalsFormatNumber, + isValidVegaPublicKey, +} from '@vegaprotocol/utils'; import { DApp, TokenStaticLinks, useLinks } from '@vegaprotocol/environment'; import { RainbowButton } from '../../components/rainbow-button'; @@ -27,7 +30,7 @@ interface FormFields { url: string; avatarUrl: string; private: boolean; - allowList: boolean; + allowList: string; } const urlRegex = @@ -47,7 +50,7 @@ export const CreateTeam = () => {