mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Make error object as optional
This commit is contained in:
@ -35,7 +35,7 @@ const pushUseConnect = ({ t, instances }: Params) => {
|
||||
url: `push/connect/${expoToken}`,
|
||||
sentry: true
|
||||
}).catch(error => {
|
||||
if (error.status == 404) {
|
||||
if (error?.status == 404) {
|
||||
displayMessage({
|
||||
theme,
|
||||
type: 'error',
|
||||
|
Reference in New Issue
Block a user