diff --git a/src/utils/attendee.js b/src/utils/attendee.js index 8a769f4d9..c7bed2840 100644 --- a/src/utils/attendee.js +++ b/src/utils/attendee.js @@ -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