Skip to content
This repository has been archived by the owner on Sep 8, 2024. It is now read-only.

Commit

Permalink
fix: name mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
sheepbox8646 committed Aug 11, 2024
1 parent c97f2f9 commit 255ed4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/json/src/import-widget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export function importWidget<T extends typeof Widget>(
widgetData.animations.forEach((animation) => {
widget.animate(anims[animation.type]().withAttr({
...animation.parameters,
by: easingFunctions[animation.parameters.easingFunctions as string],
by: easingFunctions[animation.parameters.by as string],
}))
})
}
Expand Down

0 comments on commit 255ed4f

Please sign in to comment.