From 6b9ff006f80abcc877b0f4c14839d8e8b05fafce Mon Sep 17 00:00:00 2001 From: ap-justin <89639563+ap-justin@users.noreply.github.com> Date: Mon, 27 Jan 2025 16:12:33 +0800 Subject: [PATCH] fund description 3000 char --- src/pages/Funds/CreateFund/schema.ts | 2 +- src/pages/Funds/EditFund/schema.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/Funds/CreateFund/schema.ts b/src/pages/Funds/CreateFund/schema.ts index 607b2dc27d..662ef17d15 100644 --- a/src/pages/Funds/CreateFund/schema.ts +++ b/src/pages/Funds/CreateFund/schema.ts @@ -12,7 +12,7 @@ export const endowOption = v.object({ logo: v.optional(v.pipe(str, v.url())), }); -export const MAX_DESCRIPTION_CHAR = 500; +export const MAX_DESCRIPTION_CHAR = 3000; export const schema = v.object({ name: v.pipe(str, v.nonEmpty("required")), diff --git a/src/pages/Funds/EditFund/schema.ts b/src/pages/Funds/EditFund/schema.ts index 9d527b8019..0c97bd7311 100644 --- a/src/pages/Funds/EditFund/schema.ts +++ b/src/pages/Funds/EditFund/schema.ts @@ -6,7 +6,7 @@ import { video } from "../common/videos"; const str = v.pipe(v.string(), v.trim()); -export const MAX_DESCRIPTION_CHARS = 500; +export const MAX_DESCRIPTION_CHARS = 3000; export const schema = v.object({ name: v.pipe(str, v.nonEmpty("required")), description: richTextContent({