Skip to content

Commit

Permalink
open FilterSidebar by default
Browse files Browse the repository at this point in the history
  • Loading branch information
rtrembecky committed Dec 14, 2024
1 parent 3ce39ba commit 0523063
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {FC, PropsWithChildren, useState} from 'react'
import {FilterLiveSearch} from 'react-admin'

export const FilterSidebar: FC<PropsWithChildren> = ({children}) => {
const [filterOpen, setFilterOpen] = useState(false)
const [filterOpen, setFilterOpen] = useState(true)
const toggleFilter = () => setFilterOpen((prev) => !prev)

return (
Expand Down

0 comments on commit 0523063

Please sign in to comment.