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-level={1}
|
||||
onClick={() => {
|
||||
setExpanded(e => !e);
|
||||
setExpanded(!expanded);
|
||||
}}
|
||||
>
|
||||
<span className={classNames({
|
||||
|
|
Loading…
Reference in New Issue