mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-24 16:01:42 +02:00
Merge pull request #6687 from matrix-org/travis/left-panel-widget-expand
Fix left panel widgets not remembering collapsed state
This commit is contained in:
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…
x
Reference in New Issue
Block a user