Skip to content

Commit

Permalink
reverting prettier fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaburgio committed Dec 17, 2023
1 parent 8585a9d commit 7adc35d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions iconoir.com/components/NavigationItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
8 changes: 4 additions & 4 deletions iconoir.com/components/Slider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 7adc35d

Please sign in to comment.