Skip to content

Commit

Permalink
fix: progress donut ssr
Browse files Browse the repository at this point in the history
  • Loading branch information
astagi committed Nov 26, 2024
1 parent 5ae6c36 commit 3c50888
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js/plugins/progress-donut.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* --------------------------------------------------------------------------
*/

import ProgressBar from 'progressbar.js'
import Circle from 'progressbar.js/src/circle.js'
import BaseComponent from './base-component.js'
import SelectorEngine from './dom/selector-engine'
import Manipulator from './dom/manipulator'
Expand Down Expand Up @@ -91,7 +91,7 @@ class ProgressDonut extends BaseComponent {
}

_init() {
this._bar = new ProgressBar.Circle(this._element, this._config)
this._bar = new Circle(this._element, this._config)

if (this._config.value > 0) {
this.set(this._config.value)
Expand Down

0 comments on commit 3c50888

Please sign in to comment.