From 0523063c78ca360645535d53f457680bf34deb11 Mon Sep 17 00:00:00 2001 From: rtrembecky Date: Sat, 14 Dec 2024 15:44:09 +0100 Subject: [PATCH] open FilterSidebar by default --- src/components/Admin/custom/list-filtering/FilterSidebar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Admin/custom/list-filtering/FilterSidebar.tsx b/src/components/Admin/custom/list-filtering/FilterSidebar.tsx index 48580d3d..23347998 100644 --- a/src/components/Admin/custom/list-filtering/FilterSidebar.tsx +++ b/src/components/Admin/custom/list-filtering/FilterSidebar.tsx @@ -4,7 +4,7 @@ import {FC, PropsWithChildren, useState} from 'react' import {FilterLiveSearch} from 'react-admin' export const FilterSidebar: FC = ({children}) => { - const [filterOpen, setFilterOpen] = useState(false) + const [filterOpen, setFilterOpen] = useState(true) const toggleFilter = () => setFilterOpen((prev) => !prev) return (