mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-25 03:49:11 +00:00
fix(EditorCategory): unflip hidden state
This commit is contained in:
parent
d39b9db781
commit
5e6b722290
1 changed files with 2 additions and 2 deletions
|
@ -59,8 +59,8 @@ export const EditorCategory = (props: CategoryProps) => {
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<Toggle
|
<Toggle
|
||||||
state={props.category.hidden}
|
state={!props.category.hidden}
|
||||||
onChange={(value) => updateValue('hidden', value)}
|
onChange={(value) => updateValue('hidden', !value)}
|
||||||
>
|
>
|
||||||
Show this category to members
|
Show this category to members
|
||||||
</Toggle>
|
</Toggle>
|
||||||
|
|
Loading…
Add table
Reference in a new issue