mirror of
https://github.com/ershisan99/flashcards-example-project.git
synced 2025-12-23 20:59:28 +00:00
feat: use search params for filters instead of redux
This commit is contained in:
@@ -7,7 +7,7 @@ import s from './slider.module.scss'
|
||||
const Slider = forwardRef<
|
||||
ElementRef<typeof SliderPrimitive.Root>,
|
||||
Omit<ComponentPropsWithoutRef<typeof SliderPrimitive.Root>, 'value'> & {
|
||||
value?: (number | undefined)[]
|
||||
value?: (null | number)[]
|
||||
}
|
||||
>(({ className, max, onValueChange, value, ...props }, ref) => {
|
||||
useEffect(() => {
|
||||
|
||||
Reference in New Issue
Block a user