mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Comment out feedback buttons
This commit is contained in:
parent
c4d8be6094
commit
9861822d8f
1 changed files with 29 additions and 29 deletions
|
|
@ -724,36 +724,36 @@ const SubscriptionSourceHoverContent = (
|
|||
// )
|
||||
// }
|
||||
|
||||
type FeedbackViewProps = {
|
||||
sendFeedback: (type: SendHomeFeedbackType) => void
|
||||
}
|
||||
// type FeedbackViewProps = {
|
||||
// sendFeedback: (type: SendHomeFeedbackType) => void
|
||||
// }
|
||||
|
||||
const FeedbackView = (props: FeedbackViewProps): JSX.Element => {
|
||||
return (
|
||||
<HStack css={{ ml: 'auto', mt: 'auto', gap: '5px' }}>
|
||||
<Button
|
||||
style="plainIcon"
|
||||
onClick={(event) => {
|
||||
props.sendFeedback('MORE')
|
||||
event.preventDefault()
|
||||
event.stopPropagation()
|
||||
}}
|
||||
>
|
||||
<ThumbsUp weight="fill" />
|
||||
</Button>
|
||||
<Button
|
||||
style="plainIcon"
|
||||
onClick={(event) => {
|
||||
props.sendFeedback('LESS')
|
||||
event.preventDefault()
|
||||
event.stopPropagation()
|
||||
}}
|
||||
>
|
||||
<ThumbsDown weight="fill" />
|
||||
</Button>
|
||||
</HStack>
|
||||
)
|
||||
}
|
||||
// const FeedbackView = (props: FeedbackViewProps): JSX.Element => {
|
||||
// return (
|
||||
// <HStack css={{ ml: 'auto', mt: 'auto', gap: '5px' }}>
|
||||
// <Button
|
||||
// style="plainIcon"
|
||||
// onClick={(event) => {
|
||||
// props.sendFeedback('MORE')
|
||||
// event.preventDefault()
|
||||
// event.stopPropagation()
|
||||
// }}
|
||||
// >
|
||||
// <ThumbsUp weight="fill" />
|
||||
// </Button>
|
||||
// <Button
|
||||
// style="plainIcon"
|
||||
// onClick={(event) => {
|
||||
// props.sendFeedback('LESS')
|
||||
// event.preventDefault()
|
||||
// event.stopPropagation()
|
||||
// }}
|
||||
// >
|
||||
// <ThumbsDown weight="fill" />
|
||||
// </Button>
|
||||
// </HStack>
|
||||
// )
|
||||
// }
|
||||
|
||||
type HeaderProps = {
|
||||
toggleMenu: () => void
|
||||
|
|
|
|||
Loading…
Reference in a new issue