We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 834b4dd commit 4c95110Copy full SHA for 4c95110
packages/react-email/src/commands/resend/setup.ts
@@ -17,7 +17,13 @@ export async function resendSetup() {
17
message: 'Enter your API Key (make sure it has "Full Access")',
18
});
19
20
- conf.set('resendApiKey', apiKey);
21
- console.info(`${logSymbols.success} Resend integration successfully set up`);
22
- console.info(`You can always remove it with ${styleText('green', 'npx react-email@latest resend reset')}`);
+ if (apiKey?.trim().length > 0) {
+ conf.set('resendApiKey', apiKey);
+ console.info(
23
+ `${logSymbols.success} Resend integration successfully set up`,
24
+ );
25
26
+ `You can always remove it with ${styleText('green', 'npx react-email@latest resend reset')}`,
27
28
+ }
29
}
0 commit comments