Skip to content

Commit 2431f83

Browse files
committed
fix(react-email): Improper use of traverse
1 parent 7b1ae74 commit 2431f83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-email/src/cli/utils/preview/hot-reloading/get-imported-modules.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const getImportedModules = (contents: string) => {
1414
plugins: ['jsx', 'typescript', 'decorators'],
1515
});
1616

17-
traverse.default(parsedContents, {
17+
traverse(parsedContents, {
1818
ImportDeclaration({ node }) {
1919
importedPaths.push(node.source.value);
2020
},

0 commit comments

Comments
 (0)