Skip to content

Commit

Permalink
Merge pull request #4992 from h3poteto/fix/emoji-picker
Browse files Browse the repository at this point in the history
Fix submitting form when clicking emoji picker
  • Loading branch information
h3poteto authored Jul 11, 2024
2 parents 4465506 + a884522 commit 690131e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion renderer/components/compose/Compose.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,11 @@ export default function Compose(props: Props) {
/>
<Popover open={popoverEmoji} handler={setPopoverEmoji}>
<PopoverHandler>
<button className="absolute top-1 right-1 text-gray-600 cursor-pointer" title={formatMessage({ id: 'compose.emoji' })}>
<button
className="absolute top-1 right-1 text-gray-600 cursor-pointer"
type="button"
title={formatMessage({ id: 'compose.emoji' })}
>
<FaFaceLaughBeam />
</button>
</PopoverHandler>
Expand Down

0 comments on commit 690131e

Please sign in to comment.