mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Enable the pocket importer on the web
This commit is contained in:
parent
9ad516520f
commit
dbafc9a40b
1 changed files with 16 additions and 17 deletions
|
|
@ -161,23 +161,22 @@ 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',
|
||||
|
|
|
|||
Loading…
Reference in a new issue