mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Merge pull request #2233 from omnivore-app/pocket-importer
feat: start pocket importer once connected
This commit is contained in:
commit
db83fa2ab2
1 changed files with 2 additions and 0 deletions
|
|
@ -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.')
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue