Skip to content

Commit

Permalink
fix(getVendorPrefixedName): fix property name to be null (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonguo committed Feb 10, 2022
1 parent 739b778 commit 09b7a6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/getVendorPrefixedName.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function getVendorPrefixedName(property: string) {
}
memoized[name] = name in testStyle ? name : getWithPrefix(capitalizedName);
}
return memoized[name];
return memoized[name] || name;
}

export default getVendorPrefixedName;

0 comments on commit 09b7a6b

Please sign in to comment.