mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-06-03 15:07:00 +00:00
Remove unused box
This commit is contained in:
parent
342d68b248
commit
1eab69ddf6
@ -324,6 +324,7 @@ export const MessageItem = memo(
|
||||
{reply && (
|
||||
<>
|
||||
<Spacer height="20px" />
|
||||
|
||||
<Box
|
||||
sx={{
|
||||
backgroundColor: theme.palette.background.surface,
|
||||
@ -339,15 +340,6 @@ export const MessageItem = memo(
|
||||
scrollToItem(replyIndex);
|
||||
}}
|
||||
>
|
||||
<Box
|
||||
sx={{
|
||||
background: theme.palette.text.primary,
|
||||
height: '100%',
|
||||
width: '5px',
|
||||
flexShrink: 0,
|
||||
}}
|
||||
/>
|
||||
|
||||
<Box
|
||||
sx={{
|
||||
padding: '5px',
|
||||
@ -410,7 +402,6 @@ export const MessageItem = memo(
|
||||
{reactions &&
|
||||
Object.keys(reactions).map((reaction) => {
|
||||
const numberOfReactions = reactions[reaction]?.length;
|
||||
// const myReaction = reactions
|
||||
if (numberOfReactions === 0) return null;
|
||||
return (
|
||||
<ButtonBase
|
||||
@ -440,7 +431,6 @@ export const MessageItem = memo(
|
||||
marginLeft: '4px',
|
||||
}}
|
||||
>
|
||||
{' '}
|
||||
{numberOfReactions}
|
||||
</Typography>
|
||||
)}
|
||||
@ -640,14 +630,6 @@ export const ReplyPreview = ({ message, isEdit = false }) => {
|
||||
width: '100%',
|
||||
}}
|
||||
>
|
||||
<Box
|
||||
sx={{
|
||||
background: theme.palette.text.primary,
|
||||
height: '100%',
|
||||
width: '5px',
|
||||
flexShrink: 0,
|
||||
}}
|
||||
/>
|
||||
<Box
|
||||
sx={{
|
||||
padding: '5px',
|
||||
|
Loading…
x
Reference in New Issue
Block a user