diff --git a/pkg/interface/src/views/landscape/components/GroupSwitcher.tsx b/pkg/interface/src/views/landscape/components/GroupSwitcher.tsx index acc05a8a7..915870c98 100644 --- a/pkg/interface/src/views/landscape/components/GroupSwitcher.tsx +++ b/pkg/interface/src/views/landscape/components/GroupSwitcher.tsx @@ -77,7 +77,8 @@ export function GroupSwitcher(props: { isAdmin: any; }) { const { workspace, isAdmin } = props; - const isMobile = useMedia('(max-width: 639px)') + const isMobile = useMedia('(max-width: 639px)'); + const path = isMobile ? '/popover' : '/popover/settings'; const associations = useMetadataState(state => state.associations); const title = getTitleFromWorkspace(associations, workspace); const metadata = (workspace.type === 'home' || workspace.type === 'messages') @@ -146,26 +147,14 @@ export function GroupSwitcher(props: { /> Participants - {isMobile ? ( - - - Group Settings - - - ) : ( - - - Group Settings - - )} + + + Group Settings + {isAdmin && ( )} - {isMobile ? ( - - - - ) : ( - - - - )} + + + )}