Skip to content

Commit

Permalink
Update src/utils/attendee.js
Browse files Browse the repository at this point in the history
Signed-off-by: Mason Brothers <masonbrothers@users.noreply.github.com>
  • Loading branch information
masonbrothers authored and miaulalala committed Jul 6, 2023
1 parent 59b1071 commit 8350106
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/utils/attendee.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ export function removeMailtoPrefix(uri) {
* @return {string} URI with a mailto prefix
*/
export function addMailtoPrefix(uri) {
if (typeof uri !== 'string') return 'mailto:'
if (typeof uri !== 'string') {
return 'mailto:'
}

if (uri.startsWith('mailto:')) {
return uri
Expand Down

0 comments on commit 8350106

Please sign in to comment.