Skip to content

Commit

Permalink
feat: add member label
Browse files Browse the repository at this point in the history
  • Loading branch information
kituuu committed May 19, 2024
1 parent 11414c3 commit 26063ba
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions frontend/src/features/AddWorkspace/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -260,13 +260,11 @@ const AddWorkspace = () => {
maxLength={201}
/>
{formErrors.description && <p className='form-error'>{formErrors.description}</p>}
{/* {!description ? <p>Description field should not be empty</p> : <></>}
{!validDescription ? (
<p>Characters length should be less than 200</p>
) : (
<></>
)} */}
<div className='add-member-container'>

</div>
<div className='single-form-element-container'>
<label className='label' htmlFor="add-member">Add Members</label>
<div className='add-member-container'>
<input
type='text'
id='add-member'
Expand All @@ -291,7 +289,6 @@ const AddWorkspace = () => {
</button>
</div>
</div>

<div className='added-members'>
{form.members.map((member, index) => (
<div className='member-card' key={index}>
Expand Down

0 comments on commit 26063ba

Please sign in to comment.