Skip to content

Commit

Permalink
fix: swpie indicator
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanqi9675 committed Jul 27, 2023
1 parent 18037f5 commit 84e1cba
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/quarkd/src/swipe/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,9 @@ class QuarkSwipe extends QuarkElement {
};

renderIndicators() {
if (this.count <= 1) {
return null;
}
const indicators = [];
for (let i = 0; i < this.count; i += 1) {
const indicator = (
Expand Down

0 comments on commit 84e1cba

Please sign in to comment.