Skip to content

Commit

Permalink
Update MessageAggregator.js
Browse files Browse the repository at this point in the history
  • Loading branch information
dhairyashiil authored Jan 9, 2025
1 parent 0d21409 commit e097a91
Showing 1 changed file with 11 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import {
Popup,
useTheme,
ActionButton,
Tooltip,
Icon,
} from '@embeddedchat/ui-elements';
import { MessageDivider } from '../../Message/MessageDivider';
Expand Down Expand Up @@ -180,25 +179,18 @@ export const MessageAggregator = ({
}}
/>

<Tooltip
text="Jump to message"
position="left"
key={msg._id}
<ActionButton
square
ghost
onClick={() => setJumpToMessage(msg)}
css={{
position: 'relative',
zIndex: 10,
marginRight: '5px',
}}
>
<ActionButton
square
ghost
onClick={() => setJumpToMessage(msg)}
css={{
position: 'relative',
zIndex: 10,
marginRight: '5px',
marginTop: '6px',
}}
>
<Icon name="arrow-back" size="1.25rem" />
</ActionButton>
</Tooltip>
<Icon name="arrow-back" size="1.25rem" />
</ActionButton>
</Box>
)}
</React.Fragment>
Expand Down

0 comments on commit e097a91

Please sign in to comment.