Add menu header in general settings

Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
Ajay Bura 2022-01-31 15:22:53 +05:30
parent 63fb4d57e2
commit 5f7fa0557f
2 changed files with 2 additions and 0 deletions

View file

@ -75,6 +75,7 @@ function GeneralSettings({ roomId }) {
return (
<>
<div className="room-settings__card">
<MenuHeader>Options</MenuHeader>
<MenuItem
disabled={!canInvite}
onClick={() => openInviteUser(roomId)}

View file

@ -57,6 +57,7 @@ function GeneralSettings({ roomId }) {
return (
<>
<div className="room-settings__card">
<MenuHeader>Options</MenuHeader>
<MenuItem
onClick={() => {
if (isPinned) deleteSpaceShortcut(roomId);