Skip to content

Commit cc72e3e

Browse files
committed
fix: compatibility checking with tailwind
1 parent eacc022 commit cc72e3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/react-email/src/actions/email-validation/check-compatibility.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ export const checkCompatibility = async (
278278

279279
if (cssEntryType === 'full property') {
280280
if (
281-
property.name === snakeToCamel(entryFullProperty!.name) &&
281+
snakeToCamel(property.name) === snakeToCamel(entryFullProperty!.name) &&
282282
property.value === entryFullProperty!.value
283283
) {
284284
addToInsights(property);
@@ -306,7 +306,7 @@ export const checkCompatibility = async (
306306
}
307307
} else if (
308308
entryProperties.some(
309-
(propertyName) => property.name === snakeToCamel(propertyName),
309+
(propertyName) => snakeToCamel(property.name) === snakeToCamel(propertyName),
310310
)
311311
) {
312312
addToInsights(property);

0 commit comments

Comments
 (0)