Skip to content

Commit

Permalink
Merge pull request #44 from DushanSenadheera/dev
Browse files Browse the repository at this point in the history
fix validation err
  • Loading branch information
DushanSenadheera committed May 12, 2024
2 parents 32b9c55 + dbc81c2 commit 272f363
Show file tree
Hide file tree
Showing 22 changed files with 43 additions and 1,845 deletions.
Binary file removed client/src/assets/bgvid.mp4
Binary file not shown.
4 changes: 2 additions & 2 deletions client/src/pages/Destination/Destination.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ export default function Destination() {
},

validate: {
name: hasLength({ min: 2, max: 10 }, 'Name must be 2-10 characters long'),
name: isNotEmpty('Name cannot be empty')
},
});

return (
<UserInputLayout bg={bg}>
<form>
<form onSubmit={form.onSubmit(() => {})}>
<h1>Destination</h1>
<TextInput key={form.key('name')}
{...form.getInputProps('name')} onChange={handleData} label="Enter your destination" value={destination} withAsterisk placeholder="City Name" />
Expand Down
86 changes: 0 additions & 86 deletions server/coverage/clover.xml

This file was deleted.

5 changes: 0 additions & 5 deletions server/coverage/coverage-final.json

This file was deleted.

224 changes: 0 additions & 224 deletions server/coverage/lcov-report/base.css

This file was deleted.

Loading

0 comments on commit 272f363

Please sign in to comment.