mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
fix some state for notion
This commit is contained in:
parent
30fa6f8bd0
commit
7f0ca62386
1 changed files with 3 additions and 3 deletions
|
|
@ -159,7 +159,7 @@ export default function Integrations(): JSX.Element {
|
|||
{ duration: 5000 }
|
||||
)
|
||||
} finally {
|
||||
router.replace('/settings/integrations')
|
||||
router.push('/settings/integrations')
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -183,7 +183,7 @@ export default function Integrations(): JSX.Element {
|
|||
{ duration: 5000 }
|
||||
)
|
||||
|
||||
router.replace('/settings/integrations')
|
||||
router.push('/settings/integrations')
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -200,7 +200,7 @@ export default function Integrations(): JSX.Element {
|
|||
if (router.query.code && !getIntegration('NOTION')) {
|
||||
connectWithNotion()
|
||||
}
|
||||
}, [importFromIntegration, getIntegration, revalidate, router])
|
||||
}, [importFromIntegration, getIntegration, router])
|
||||
|
||||
useEffect(() => {
|
||||
const pocket = getIntegration('POCKET')
|
||||
|
|
|
|||
Loading…
Reference in a new issue