mirror of
https://github.com/stonith404/pingvin-share.git
synced 2025-01-15 01:14:27 -05:00
fix: share can't be created if an invalid email is entered in mail recipients
This commit is contained in:
parent
77a092a3cf
commit
d5cd3002a1
1 changed files with 1 additions and 1 deletions
|
@ -371,7 +371,7 @@ const CreateUploadModalBody = ({
|
|||
searchable
|
||||
creatable
|
||||
id="recipient-emails"
|
||||
type="email"
|
||||
inputMode="email"
|
||||
getCreateLabel={(query) => `+ ${query}`}
|
||||
onCreate={(query) => {
|
||||
if (!query.match(/^\S+@\S+\.\S+$/)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue