- ottimizzato il caricamento del sito

- ottimizzato il caricamento del catalogo.
This commit is contained in:
Surya Paolo
2025-05-15 18:22:37 +02:00
parent 50015712f5
commit 9e0634da05
17 changed files with 410565 additions and 143 deletions

View File

@@ -1,21 +0,0 @@
// import Backend from './backend'
// import Firebase from './firebase'
import Graphql from './graphql'
export default (context: any, error: any) => {
/*
if (error.constructor.nametranslate === 'FirebaseError') {
Firebase(error)
return
}
if (error.response && error.response.data && error.response.data.backend) {
Backend(error)
return
} */
if (error[0] && error[0].locations && error[0].validation) {
Graphql(error)
return
}
console.log('Error handler', error)
}