Skip to content

Commit

Permalink
fix(react-email): Linting problem
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielmfern committed Jan 27, 2024
1 parent 783660c commit 8ece1ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-email/src/utils/get-email-component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export const getEmailComponent = async (
return staticNodeModulesForVM[module];
}

// eslint-disable-next-line @typescript-eslint/no-var-requires
// eslint-disable-next-line @typescript-eslint/no-var-requires, @typescript-eslint/no-useless-template-literals
return require(`${module}`) as unknown;
// this stupid string templating was necessary to not have
// webpack warnings like:
Expand Down

0 comments on commit 8ece1ee

Please sign in to comment.