Skip to content

Commit

Permalink
make pet food needs optional
Browse files Browse the repository at this point in the history
  • Loading branch information
OGreeni committed May 22, 2024
1 parent c740286 commit f5abdba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions frontend/src/app/client-form/Pet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,15 +131,14 @@ function Pet(props: PetProps) {
required
/>

<div className='mt-5 after:ml-0.5 after:text-[red] after:content-["*"]'>
<div className="mt-5">
What does this pet eat? (examples: dry food, can food, table
scraps)
</div>
<TextInput
value={props.eats || ''}
placeholder={''}
onChange={props.setEats}
required
/>

<div className='after:ml-0.5 after:text-[red] after:content-["*"]'>
Expand Down Expand Up @@ -337,7 +336,6 @@ function Pet(props: PetProps) {
props.color === '' ||
props.howLong === '' ||
props.spendTime === '' ||
props.eats === '' ||
props.health === '' ||
props.extra === ''
) {
Expand Down

0 comments on commit f5abdba

Please sign in to comment.