reverting prettier fixes

This commit is contained in:
Luca Burgio 2023-12-17 11:45:26 +01:00
parent 8585a9df7c
commit 7adc35d582
2 changed files with 6 additions and 6 deletions

View file

@ -29,8 +29,8 @@ export function NavigationItem({
activeMatch
? router.asPath.startsWith(activeMatch)
: href.slice(1)
? router.asPath.slice(1).startsWith(href.slice(1))
: router.asPath === href
? router.asPath.slice(1).startsWith(href.slice(1))
: router.asPath === href
}
>
{children}

View file

@ -73,13 +73,13 @@ function Thumb({ state, trackRef, index }: ThumbProps) {
backgroundColor: isFocusVisible
? 'var(--accent)'
: state.isThumbDragging(index)
? 'var(--g6)'
: 'var(--white)',
? 'var(--g6)'
: 'var(--white)',
scale: isFocusVisible
? '1.0'
: state.isThumbDragging(index)
? '1.3'
: '1.0',
? '1.3'
: '1.0',
}}
>
<VisuallyHidden>