Merge pull request #2233 from omnivore-app/pocket-importer
feat: start pocket importer once connected
This commit is contained in:
@ -114,6 +114,8 @@ export default function Integrations(): JSX.Element {
|
||||
if (result) {
|
||||
revalidate()
|
||||
showSuccessToast('Connected with Pocket.')
|
||||
// start the import
|
||||
await importFromIntegration(result.id)
|
||||
} else {
|
||||
showErrorToast('There was an error connecting to Pocket.')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user