Merge pull request #6687 from matrix-org/travis/left-panel-widget-expand

Fix left panel widgets not remembering collapsed state
pull/21833/head
Travis Ralston 2021-08-26 10:46:51 -06:00 committed by GitHub
commit a1a7de0f37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ const LeftPanelWidget: React.FC = () => {
aria-expanded={expanded}
aria-level={1}
onClick={() => {
setExpanded(e => !e);
setExpanded(!expanded);
}}
>
<span className={classNames({