add "please try again" in the error message toast

This commit is contained in:
Hongbo Wu
2023-06-13 16:57:35 +08:00
parent dbafc9a40b
commit 5d17a4560f

View File

@ -120,7 +120,10 @@ export default function Integrations(): JSX.Element {
showErrorToast('There was an error connecting to Pocket.')
}
} catch (err) {
showErrorToast('Error: ' + err)
showErrorToast(
'There was an error connecting to Pocket. Please try again.',
{ duration: 5000 }
)
} finally {
router.replace('/settings/integrations')
}