Skip to content

Commit

Permalink
fix(pie): uncaught promise error
Browse files Browse the repository at this point in the history
  • Loading branch information
markchou0225 committed Mar 19, 2024
1 parent 582326c commit 2fda8c1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/core/src/components/graphs/pie.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,7 @@ export class Pie extends Component {
.attrTween('d', function (a: any) {
return arcTween.bind(this)(a, self.arc)
})
.end()
.finally(() => {
.on('end', () => {
self.isRendering = false
})

Expand Down

0 comments on commit 2fda8c1

Please sign in to comment.