Clipclop tweaks (#3851)
* scroll on input resize
* add back the padding 🙊
* fix timestamps
This commit is contained in:
@@ -32,6 +32,11 @@ export let MessageItem = ({
|
||||
next.sender?.did === currentAccount?.did
|
||||
|
||||
const isLastInGroup = useMemo(() => {
|
||||
// TODO this means it's a placeholder. Let's figure out the right way to do this though!
|
||||
if (item.id.length > 13) {
|
||||
return false
|
||||
}
|
||||
|
||||
// if the next message is from a different sender, then it's the last in the group
|
||||
if (isFromSelf ? !isNextFromSelf : isNextFromSelf) {
|
||||
return true
|
||||
|
||||
Reference in New Issue
Block a user