Disable pocket

This commit is contained in:
Jackson Harper 2023-05-25 20:17:25 +08:00
parent 782aa9bb82
commit 0c328c268e

View file

@ -161,22 +161,23 @@ export default function Integrations(): JSX.Element {
},
},
},
{
icon: '/static/icons/pocket.svg',
title: 'Pocket',
subText:
'Pocket is a place to save articles, videos, and more. Our Pocket integration allows importing your Pocket library to Omnivore. Once connected we will asyncronously import all your Pocket articles into Omnivore, as this process is resource intensive it can take some time. You will receive an email when the process is completed.',
button: {
text: pocketConnected ? 'Import' : 'Connect to Pocket',
icon: <Link size={16} weight={'bold'} />,
style: 'ctaDarkYellow',
action: () => {
pocketConnected
? importFromIntegration(pocketConnected.id)
: redirectToPocket()
},
},
},
// {
// icon: '/static/icons/pocket.svg',
// title: 'Pocket',
// subText:
// 'Pocket is a place to save articles, videos, and more. Our Pocket integration allows importing your Pocket library to Omnivore. Once connected we will asyncronously import all your Pocket articles into Omnivore, as this process is resource intensive it can take some time. You will receive an email when the process is completed.',
// button: {
// text: pocketConnected ? 'Import' : 'Connect to Pocket',
// icon: <Link size={16} weight={'bold'} />,
// style: 'ctaDarkYellow',
// action: () => {
// pocketConnected
// ? importFromIntegration(pocketConnected.id)
// : redirectToPocket()
// },
// },
// },
{
icon: '/static/icons/webhooks.svg',
title: 'Webhooks',