add "please try again" in the error message toast
This commit is contained in:
@ -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')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user