Skip to content

🎥 Make videos programmatically with React

fix comment

ChetanKarwa97e84a8def23
diff --git a/packages/animation-utils/src/transformation-helpers/interpolate-styles/utils.ts b/packages/animation-utils/src/transformation-helpers/interpolate-styles/utils.ts
index d211dd916a..b9feeaf56e 100644
--- a/packages/animation-utils/src/transformation-helpers/interpolate-styles/utils.ts
+++ b/packages/animation-utils/src/transformation-helpers/interpolate-styles/utils.ts
@@ -151,7 +151,7 @@ const classifyParts = (parts: string[]) => {
return unit ? {number, unit} : {number};
}
- // Check for a number without a unit like '10' or '-10
+ // Check for a number without a unit like '10' or '-10'
const numberMatch = part.match(/^(-?\d+(?:\.\d+)?)$/);
if (numberMatch) {
const number = parseFloat(numberMatch[1]);