mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-24 19:39: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>
|
||||
<Toggle
|
||||
state={props.category.hidden}
|
||||
onChange={(value) => updateValue('hidden', value)}
|
||||
state={!props.category.hidden}
|
||||
onChange={(value) => updateValue('hidden', !value)}
|
||||
>
|
||||
Show this category to members
|
||||
</Toggle>
|
||||
|
|
Loading…
Add table
Reference in a new issue