Fix dispatch props

This commit is contained in:
Rafael 2021-12-07 09:52:36 -03:00 committed by Thomas Zarebczan
parent 1751f78028
commit cdc1c0dce4

View file

@ -15,7 +15,7 @@ export default function TextareaSuggestionsItem(props: Props) {
const { name: value, url, unicode } = emote; const { name: value, url, unicode } = emote;
return ( return (
<div {...autocompleteProps}> <div {...autocompleteProps} dispatch={undefined}>
{unicode ? <div className="emote">{unicode}</div> : <img className="emote" src={url} />} {unicode ? <div className="emote">{unicode}</div> : <img className="emote" src={url} />}
<div className="textareaSuggestion__label"> <div className="textareaSuggestion__label">
@ -31,7 +31,7 @@ export default function TextareaSuggestionsItem(props: Props) {
const value = claim.canonical_url.replace('lbry://', '').replace('#', ':'); const value = claim.canonical_url.replace('lbry://', '').replace('#', ':');
return ( return (
<div {...autocompleteProps}> <div {...autocompleteProps} dispatch={undefined}>
<ChannelThumbnail xsmall uri={uri} /> <ChannelThumbnail xsmall uri={uri} />
<div className="textareaSuggestion__label"> <div className="textareaSuggestion__label">