fix: settings panel closed by default
This commit is contained in:
@@ -22,7 +22,7 @@ const Setting = ({
|
|||||||
hiddenError,
|
hiddenError,
|
||||||
setHiddenError,
|
setHiddenError,
|
||||||
}: Props) => {
|
}: Props) => {
|
||||||
const [showSetting, setShowSetting] = useState(true);
|
const [showSetting, setShowSetting] = useState(false);
|
||||||
|
|
||||||
const hanleListChange = (item: SiteItem, isHidden: boolean) => {
|
const hanleListChange = (item: SiteItem, isHidden: boolean) => {
|
||||||
if (isHidden) {
|
if (isHidden) {
|
||||||
|
|||||||
Reference in New Issue
Block a user