mirror of
https://github.com/iconoir-icons/iconoir
synced 2024-05-10 02:16:41 +02:00
reverting prettier fixes
This commit is contained in:
parent
8585a9df7c
commit
7adc35d582
|
@ -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}
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue