Fix Cart checkout Button hover

It was disabled 🤦
This commit is contained in:
2021-11-07 22:41:34 +01:00
parent 84395e43e5
commit 5229105e5d
3 changed files with 2 additions and 2 deletions

View File

@@ -54,6 +54,8 @@
const handleArrowClick = () => { const handleArrowClick = () => {
if (!carousel.clickAllowed()) return if (!carousel.clickAllowed()) return
// TODO: Clicking should also define arrowDirection? Can click without moving and won't change direction
// Click only if carousel if being dragged // Click only if carousel if being dragged
if (arrowDirection === 'prev') { if (arrowDirection === 'prev') {
carousel.scrollPrev() carousel.scrollPrev()

View File

@@ -160,7 +160,6 @@
text="Checkout" text="Checkout"
color="pink" color="pink"
size="small" size="small"
disabled={!$cartData}
/> />
</div> </div>
{/if} {/if}

View File

@@ -108,7 +108,6 @@
} }
.text-split__line { .text-split__line {
&:last-child { &:last-child {
color: $color-text;
color: $color-primary-dark; color: $color-primary-dark;
} }
} }