From 6953a7118448321554e6ea34045cc9f6b44435dc Mon Sep 17 00:00:00 2001 From: Nitish Tiwari Date: Tue, 14 May 2024 22:27:34 +0530 Subject: [PATCH] add text for stream creation modal --- src/pages/Home/CreateStreamModal.tsx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/pages/Home/CreateStreamModal.tsx b/src/pages/Home/CreateStreamModal.tsx index 6ac48b80..e9035cdd 100644 --- a/src/pages/Home/CreateStreamModal.tsx +++ b/src/pages/Home/CreateStreamModal.tsx @@ -27,7 +27,7 @@ const { toggleCreateStreamModal } = appStoreReducers; const isValidStreamName = (val: string) => { if (!/[A-Za-z]/.test(val)) { - return 'Name should contain atleast one letter'; + return 'Name should contain at least one letter'; } else if (_.includes(val, ' ')) { return 'Name should not contain whitespace'; } else if (!/^[a-zA-Z0-9]+$/.test(val)) { @@ -123,7 +123,7 @@ const SchemaTypeField = (props: { inputProps: GetInputPropsReturnType }) => { - Choose dynamic, evolving schema or fixed, static schema. + Choose dynamic or static schema