Merge pull request #2233 from omnivore-app/pocket-importer

feat: start pocket importer once connected
This commit is contained in:
Jackson Harper
2023-05-22 19:09:39 +08:00
committed by GitHub

View File

@ -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.')
}