Skip to content

Commit

Permalink
fix(js-custom-tab): splid init classes
Browse files Browse the repository at this point in the history
  • Loading branch information
nd0ut committed Oct 1, 2024
1 parent 84c73d8 commit 4c2b582
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
5 changes: 2 additions & 3 deletions examples/js-custom-tab/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/js-custom-tab/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
"preview": "vite preview"
},
"devDependencies": {
"@splidejs/splide": "4.1.4",
"postcss-import": "15.1.0",
"vite": "4.5.2"
},
"dependencies": {
"@splidejs/splide": "4.1.4",
"@uploadcare/file-uploader": "^1.2.0"
}
}
6 changes: 3 additions & 3 deletions examples/js-custom-tab/src/UnsplashSource.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,9 @@ export class UnsplashSource extends UploaderBlock {
</button>
</uc-activity-header>
<div class="uc-content">
<div ref="slider" class="uc-splide">
<div class="uc-splide__track">
<ul class="uc-splide__list"></ul>
<div ref="slider" class="uc-splide splide">
<div class="uc-splide__track splide__track">
<ul class="uc-splide__list splide__list"></ul>
</div>
</div>
</div>
Expand Down

0 comments on commit 4c2b582

Please sign in to comment.