mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-04-23 19:37:52 +00:00
fixes
This commit is contained in:
parent
e2d12880d1
commit
c17b67106c
@ -325,79 +325,7 @@ export const ChatOptions = ({ messages : untransformedMessages, goToMessage, mem
|
|||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<ShowMessage messages={messages} goToMessage={goToMessage} message={message} />
|
<ShowMessage messages={messages} goToMessage={goToMessage} message={message} />
|
||||||
{/* <Box
|
|
||||||
sx={{
|
|
||||||
display: "flex",
|
|
||||||
flexDirection: "column",
|
|
||||||
width: "100%",
|
|
||||||
padding: "0px 20px",
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
<Box
|
|
||||||
sx={{
|
|
||||||
display: "flex",
|
|
||||||
alignItems: "center",
|
|
||||||
justifyContent: "space-between",
|
|
||||||
width: "100%",
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
<Box
|
|
||||||
sx={{
|
|
||||||
display: "flex",
|
|
||||||
alignItems: "center",
|
|
||||||
gap: "15px",
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
<Avatar
|
|
||||||
sx={{
|
|
||||||
backgroundColor: "#27282c",
|
|
||||||
color: "white",
|
|
||||||
height: "25px",
|
|
||||||
width: "25px",
|
|
||||||
}}
|
|
||||||
alt={message?.senderName}
|
|
||||||
src={`${getBaseApiReact()}/arbitrary/THUMBNAIL/${
|
|
||||||
message?.senderName
|
|
||||||
}/qortal_avatar?async=true`}
|
|
||||||
>
|
|
||||||
{message?.senderName?.charAt(0)}
|
|
||||||
</Avatar>
|
|
||||||
<Typography
|
|
||||||
sx={{
|
|
||||||
fontWight: 600,
|
|
||||||
fontFamily: "Inter",
|
|
||||||
color: "cadetBlue",
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
{message?.senderName}
|
|
||||||
</Typography>
|
|
||||||
</Box>
|
|
||||||
</Box>
|
|
||||||
<Spacer height="5px" />
|
|
||||||
<Typography sx={{
|
|
||||||
fontSize: '12px'
|
|
||||||
}}>{formatTimestamp(message.timestamp)}</Typography>
|
|
||||||
<Box
|
|
||||||
style={{
|
|
||||||
cursor: "pointer",
|
|
||||||
}}
|
|
||||||
onClick={() => {
|
|
||||||
const findMsgIndex = messages.findIndex(
|
|
||||||
(item) =>
|
|
||||||
item?.signature === message?.signature
|
|
||||||
);
|
|
||||||
if (findMsgIndex !== -1) {
|
|
||||||
goToMessage(findMsgIndex);
|
|
||||||
}
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
<MessageDisplay
|
|
||||||
htmlContent={
|
|
||||||
message?.decryptedData?.message || "<p></p>"
|
|
||||||
}
|
|
||||||
/>
|
|
||||||
</Box>
|
|
||||||
</Box> */}
|
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
})}
|
})}
|
||||||
|
@ -218,7 +218,6 @@ export const AddGroup = ({ address, open, setOpen }) => {
|
|||||||
overflowY: "auto",
|
overflowY: "auto",
|
||||||
color: "white",
|
color: "white",
|
||||||
flexDirection: 'column',
|
flexDirection: 'column',
|
||||||
flexGrow: 1,
|
|
||||||
display: 'flex'
|
display: 'flex'
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
@ -2252,7 +2252,7 @@ export const Group = ({
|
|||||||
getTimestampEnterChatParent={getTimestampEnterChat}
|
getTimestampEnterChatParent={getTimestampEnterChat}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
{isPrivate &&firstSecretKeyInCreation &&
|
{isPrivate && firstSecretKeyInCreation &&
|
||||||
triedToFetchSecretKey &&
|
triedToFetchSecretKey &&
|
||||||
!secretKeyPublishDate && (
|
!secretKeyPublishDate && (
|
||||||
<div
|
<div
|
||||||
|
Loading…
x
Reference in New Issue
Block a user