diff --git a/src/components/carousel/carousel.component.ts b/src/components/carousel/carousel.component.ts index 6237888c4..1cc58130a 100644 --- a/src/components/carousel/carousel.component.ts +++ b/src/components/carousel/carousel.component.ts @@ -512,7 +512,7 @@ export default class SlCarousel extends ShoelaceElement { const currentPage = this.getCurrentPage(); const prevEnabled = this.canScrollPrev(); const nextEnabled = this.canScrollNext(); - const isLtr = this.localize.dir() === 'rtl'; + const isRtl = this.localize.dir() === 'rtl'; return html`