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
c78fe9f87d
commit
866d70e416
1 changed files with 2 additions and 2 deletions
|
|
@ -119,8 +119,8 @@ export default function Integrations(): JSX.Element {
|
|||
enabled: true,
|
||||
})
|
||||
if (result) {
|
||||
revalidate()
|
||||
showSuccessToast('Connected with Pocket.')
|
||||
await router.push('/settings/integrations')
|
||||
} else {
|
||||
showErrorToast('There was an error connecting to Pocket.')
|
||||
}
|
||||
|
|
@ -193,7 +193,7 @@ export default function Integrations(): JSX.Element {
|
|||
},
|
||||
},
|
||||
])
|
||||
}, [integrations])
|
||||
}, [pocketConnected, readwiseConnected, webhooks])
|
||||
|
||||
return (
|
||||
<SettingsLayout>
|
||||
|
|
|
|||
Loading…
Reference in a new issue