Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Merge pull request #6687 from matrix-org/travis/left-panel-widget-expand
Browse files Browse the repository at this point in the history
Fix left panel widgets not remembering collapsed state
  • Loading branch information
turt2live committed Aug 26, 2021
2 parents 32ad94b + 4415a70 commit a1a7de0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/structures/LeftPanelWidget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ const LeftPanelWidget: React.FC = () => {
aria-expanded={expanded}
aria-level={1}
onClick={() => {
setExpanded(e => !e);
setExpanded(!expanded);
}}
>
<span className={classNames({
Expand Down

0 comments on commit a1a7de0

Please sign in to comment.