1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-12-08 17:48:33 +03:00

De-labs Metaspaces (#7613)

This commit is contained in:
Michael Telatynski
2022-01-25 12:33:17 +00:00
committed by GitHub
parent ecd5be8a8f
commit 8ddd677c35
8 changed files with 11 additions and 45 deletions

View File

@@ -303,7 +303,6 @@ const InnerSpacePanel = React.memo<IInnerSpacePanelProps>(({ children, isPanelCo
});
const SpacePanel = () => {
const metaSpacesEnabled = useSettingValue("feature_spaces_metaspaces");
const [isPanelCollapsed, setPanelCollapsed] = useState(true);
const ref = useRef<HTMLUListElement>();
useLayoutEffect(() => {
@@ -366,7 +365,7 @@ const SpacePanel = () => {
) }
</Droppable>
{ metaSpacesEnabled && <QuickSettingsButton isPanelCollapsed={isPanelCollapsed} /> }
<QuickSettingsButton isPanelCollapsed={isPanelCollapsed} />
</ul>
) }
</RovingTabIndexProvider>