put tooltip back

This commit is contained in:
keyan 2021-10-30 12:04:32 -05:00
parent 344d45a8f5
commit 1ab326ab01

View File

@ -88,7 +88,6 @@ export default function UpVote ({ item, className }) {
return ( return (
<LightningConsumer> <LightningConsumer>
{({ strike }) => {({ strike }) =>
<ActionTooltip notForm disable={noSelfTips} overlayText={overlayText()}>
<LongPressable <LongPressable
onLongPress={ onLongPress={
async (e) => { async (e) => {
@ -146,6 +145,8 @@ export default function UpVote ({ item, className }) {
: signIn : signIn
} }
> >
<ActionTooltip notForm disable={noSelfTips} overlayText={overlayText()}>
<UpArrow <UpArrow
width={24} width={24}
height={24} height={24}
@ -156,8 +157,8 @@ export default function UpVote ({ item, className }) {
${item?.meVote ? styles.voted : ''}` ${item?.meVote ? styles.voted : ''}`
} }
/> />
</LongPressable> </ActionTooltip>
</ActionTooltip>} </LongPressable>}
</LightningConsumer> </LightningConsumer>
) )
} }