Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
AthulJoshi committed Jan 30, 2021
1 parent d43ffab commit 432187e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/shareinvite.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ const Invitation = (props: {
setEmails([...emailList, ...toBeAdded]);
}
};
const handlePreSubmit = async (): Promise<void> => {
const handlePreSubmit = (): void => {
let value = currentEmail.trim();
if (value && isValid(value)) {
setEmails([...emailList, value]);
Expand Down

0 comments on commit 432187e

Please sign in to comment.