diff --git a/.github/dependabot.yml b/.github/dependabot.yml index c7a6513..a96934e 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,8 +1,8 @@ version: 2 updates: -- package-ecosystem: npm - directory: "/" - schedule: - interval: weekly - time: '03:00' - timezone: Europe/Berlin + - package-ecosystem: npm + directory: '/' + schedule: + interval: weekly + time: '03:00' + timezone: Europe/Berlin diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 1f0cb3c..6ef1774 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -19,7 +19,9 @@ export default function Home() { {atlas .filter( (item: NetworkProps) => - item.project === 'Ocean Protocol' && item.name !== 'Spree' + item.project === 'Ocean Protocol' && + item.name !== 'Spree' && + item.name !== 'Duero' ) .reverse() .map((network: NetworkProps) => ( diff --git a/src/rpc.ts b/src/rpc.ts index dc6d11b..77f1e24 100644 --- a/src/rpc.ts +++ b/src/rpc.ts @@ -35,7 +35,7 @@ axios.interceptors.request.use( config.metadata = { startTime: new Date() } return config }, - error => Promise.reject(error) + (error) => Promise.reject(error) ) axios.interceptors.response.use( @@ -45,7 +45,7 @@ axios.interceptors.response.use( response.config.metadata.endTime - response.config.metadata.startTime return response }, - error => { + (error) => { error.config.metadata.endTime = new Date() error.duration = error.config.metadata.endTime - error.config.metadata.startTime