* fix(#34): spotlight room name TG rooms icons * fix(#33): remove mint token button from sidebarpull/27073/head
parent
c47cd410de
commit
890ae1188c
|
@ -13,5 +13,6 @@
|
|||
"src/autocomplete/Autocompleter.ts": "src/autocomplete/Autocompleter.ts",
|
||||
"src/components/views/dialogs/InviteDialog.tsx": "src/components/views/dialogs/InviteDialog.tsx",
|
||||
"src/components/views/right_panel/UserInfo.tsx": "src/components/views/right_panel/UserInfo.tsx",
|
||||
"src/components/structures/HomePage.tsx": "src/components/structures/HomePage.tsx"
|
||||
"src/components/structures/HomePage.tsx": "src/components/structures/HomePage.tsx",
|
||||
"src/components/views/dialogs/spotlight/SpotlightDialog.tsx": "src/components/views/dialogs/spotlight/SpotlightDialog.tsx"
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -58,9 +58,9 @@ export const RoomName = ({ room, children, maxLength }: IProps): JSX.Element =>
|
|||
{isCommunityRoom && <CommunityRoomIcon className="sh_RoomTokenGatedRoomIcon" />}
|
||||
{isTokenGatedRoom && <TokenGatedRoomIcon className="sh_RoomTokenGatedRoomIcon" />}
|
||||
<span dir="auto">{truncatedRoomName}</span>
|
||||
{roomUsers?.length && !isTokenGatedRoom && !isCommunityRoom && (
|
||||
{(roomUsers?.length && !isTokenGatedRoom && !isCommunityRoom) ? (
|
||||
<UserVerifiedBadge userId={roomUsers[0]} />
|
||||
)}
|
||||
) : null}
|
||||
</span>
|
||||
),
|
||||
[truncatedRoomName, isCommunityRoom, isTokenGatedRoom, roomUsers],
|
||||
|
|
|
@ -74,7 +74,6 @@ import React, {
|
|||
import { DragDropContext, Draggable, Droppable, DroppableProvidedProps } from "react-beautiful-dnd";
|
||||
|
||||
import SuperheroDexButton from "./SuperheroDexButton";
|
||||
import MintTokenButton from "./MintTokenButton";
|
||||
|
||||
const useSpaces = (): [Room[], MetaSpace[], Room[], SpaceKey] => {
|
||||
const invites = useEventEmitterState<Room[]>(SpaceStore.instance, UPDATE_INVITED_SPACES, () => {
|
||||
|
@ -409,7 +408,6 @@ const SpacePanel: React.FC = () => {
|
|||
</Droppable>
|
||||
|
||||
<SuperheroDexButton isPanelCollapsed={isPanelCollapsed} />
|
||||
<MintTokenButton isPanelCollapsed={isPanelCollapsed} />
|
||||
<QuickSettingsButton isPanelCollapsed={isPanelCollapsed} />
|
||||
</div>
|
||||
</DragDropContext>
|
||||
|
|
Loading…
Reference in New Issue