Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,6 @@ jobs:
- name: Upload to Deno Deploy
uses: denoland/deployctl@v1
with:
project: "credebl-ui" # Project name in Deno Deploy
project: "credebl-studio" # Project name in Deno Deploy
entrypoint: "server/entry.mjs" # 📝 Update the entrypoint
root: "dist"
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ const SendInvitationModal = (props: {
validationSchema={yup.object().shape({
email: yup
.string()
.matches(/^[a-zA-Z0-9](?!.*\.\.)[a-zA-Z0-9._%+-]*[a-zA-Z0-9]@[a-zA-Z0-9-]+\.[a-zA-Z]{2,}$/, "Email is invalid")
.matches( /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/, "Email is invalid")
.email('Email is invalid')
.required('Email is required')
.test('is-self-email', "You can't send invitation to self", (value) => value.trim() !== selfEmail.email.trim())
Expand Down