Skip to content

Commit

Permalink
Merge branch 'main' of github.com:push-protocol/push-sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitmalhotra1420 committed Jan 22, 2025
2 parents 51742fa + 5b279e1 commit 387ea19
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export const CardRenderer = ({
)}

{/* Gif Card */}
{chat.messageType === 'GIF' && (
{(chat.messageType === 'GIF' || chat.messageType === 'MediaEmbed') && (
<GIFCard
chat={chat}
background={
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ export const MessageInput: React.FC<MessageInputProps> = ({
};

const sendGIF = async (emojiObject: GIFType) => {
sendPushMessage(emojiObject.url as string, 'GIF');
sendPushMessage(emojiObject.url as string, 'MediaEmbed');
setGifOpen(false);
};

Expand Down Expand Up @@ -751,7 +751,7 @@ export const MessageInput: React.FC<MessageInputProps> = ({
);
};

const TypebarSection = styled(Section) <{ border?: string }>`
const TypebarSection = styled(Section)<{ border?: string }>`
// gap: 10px;
border: ${(props) => props.border || 'none'};
@media ${device.mobileL} {
Expand Down

0 comments on commit 387ea19

Please sign in to comment.