mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Revalidate integrations after connected with pocket
This commit is contained in:
parent
c2e62155cc
commit
40b0e18b22
1 changed files with 2 additions and 1 deletions
|
|
@ -112,8 +112,9 @@ export default function Integrations(): JSX.Element {
|
|||
enabled: true,
|
||||
})
|
||||
if (result) {
|
||||
revalidate()
|
||||
router.replace('/settings/integrations')
|
||||
showSuccessToast('Connected with Pocket.')
|
||||
revalidate()
|
||||
} else {
|
||||
showErrorToast('There was an error connecting to Pocket.')
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue