Skip to content

Commit 3973e98

Browse files
committed
remove redundent return
1 parent 4179e8d commit 3973e98

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/utils/validateParams.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,4 @@ export const validateParams = (publicKey?: string, serviceID?: string, templateI
1010
if (!templateID) {
1111
throw 'The template ID is required. Visit https://dashboard.emailjs.com/admin/templates';
1212
}
13-
14-
return true;
1513
};

0 commit comments

Comments
 (0)