Closed kakoga closed 4 years ago
this is caused by design-system Node
using String.includes
to determine selection:
props.selected.includes(props.path) ? styles.selected : null
settings/styles/11
includes settings/styles/1
causing both to be selected.
Is there a reason this is not an exact match?? @shrunyan
@nibblebot ha! not that I can think of. These should be exact matches.
Describe the bug In Settings -> Styles clicking on UI Styling also selects Body Colors & Spacing.
To Reproduce Steps to reproduce the behavior:
Expected behavior Only 1 style category can be selected at a time.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information): n/a
Additional context Add any other context about the problem here.