diff --git a/frontend/src/features/AddProject/index.tsx b/frontend/src/features/AddProject/index.tsx index d55504c..b6d20b7 100644 --- a/frontend/src/features/AddProject/index.tsx +++ b/frontend/src/features/AddProject/index.tsx @@ -102,7 +102,7 @@ const AddProject = () => { onChange={nameChange} value={name ? name : ''} /> - {!name ? 'Name feild should not be empty' : <>>} + {!name ? 'Name field should not be empty' : <>>} {name && !isValidName(name) && 'Not a valid name'} {name && !isUnique(name) && 'This project name already exists'}
Name feild should not be empty
: <>>} + {!name ?Name field should not be empty
: <>>} {!validName && name ?Not a valid name
: <>>} {!uniqueName && name ? (Name already taken. Try another name
@@ -211,7 +211,7 @@ const AddWorkspace = () => { onChange={handleDesriptionChange} placeholder='workspace description' /> - {!description ?Description feild should not be empty
: <>>} + {!description ?Description field should not be empty
: <>>} {!validDescription ? (Characters length should be less than 200
) : ( diff --git a/frontend/src/features/EditProject/index.tsx b/frontend/src/features/EditProject/index.tsx index b7dd1e8..ea628d4 100644 --- a/frontend/src/features/EditProject/index.tsx +++ b/frontend/src/features/EditProject/index.tsx @@ -111,7 +111,7 @@ const EditProject = () => { onChange={nameChange} value={name ? name : ''} /> - {!name ? 'Name feild should not be empty' : <>>} + {!name ? 'Name field should not be empty' : <>>} {name && !isValidName(name) && 'Not a valid name'} {name && name != projectName && @@ -124,7 +124,7 @@ const EditProject = () => { onChange={linkChange} placeholder='Github link of project' /> - {!link ? 'Link feild should not be empty' : <>>} + {!link ? 'Link field should not be empty' : <>>} {link && !isGitHubRepositoryLink(link) && 'Not a valid github repository link'} @@ -137,7 +137,7 @@ const EditProject = () => { } placeholder='Details about project' /> - {!description ? 'Description feild should not be empty' : <>>} + {!description ? 'Description field should not be empty' : <>>} {description && description.length >= 200 && 'Description length should not be greater than 200'} diff --git a/frontend/src/features/EditWorkspace/index.tsx b/frontend/src/features/EditWorkspace/index.tsx index 4bc35a9..267d9fd 100644 --- a/frontend/src/features/EditWorkspace/index.tsx +++ b/frontend/src/features/EditWorkspace/index.tsx @@ -173,7 +173,7 @@ const EditWorkspace = () => { onChange={handleNameChange} placeholder='workspace name' /> - {!name ?Name feild should not be empty
: <>>} + {!name ?Name field should not be empty
: <>>} {name != spaceName && !validName && name ? (Not a valid name
) : ( @@ -197,7 +197,7 @@ const EditWorkspace = () => { onChange={handleDesriptionChange} placeholder='workspace description' /> - {!description ?Description feild should not be empty
: <>>} + {!description ?Description field should not be empty
: <>>} {!validDescription ? (Characters length should be less than 200
) : (