Skip to content

Commit 8e4dafe

Browse files
vlaforetgabrielmfern
authored andcommitted
fix(react-email): Missing URLSearchParams on global context for email VM (#1419)
1 parent 9b0b323 commit 8e4dafe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/react-email/src/utils/get-email-component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ export const getEmailComponent = async (
6262
TextEncoderStream,
6363
ReadableStream,
6464
URL,
65+
URLSearchParams,
6566
module: { exports: { default: undefined as unknown } },
6667
__filanem: emailPath,
6768
__dirname: path.dirname(emailPath),

0 commit comments

Comments
 (0)