Merge pull request #6687 from matrix-org/travis/left-panel-widget-expand
Fix left panel widgets not remembering collapsed statepull/21833/head
commit
a1a7de0f37
|
@ -115,7 +115,7 @@ const LeftPanelWidget: React.FC = () => {
|
||||||
aria-expanded={expanded}
|
aria-expanded={expanded}
|
||||||
aria-level={1}
|
aria-level={1}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
setExpanded(e => !e);
|
setExpanded(!expanded);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<span className={classNames({
|
<span className={classNames({
|
||||||
|
|
Loading…
Reference in New Issue