diff --git a/.changelog/1266.trivial.md b/.changelog/1266.trivial.md new file mode 100644 index 0000000000..fa9424d1e7 --- /dev/null +++ b/.changelog/1266.trivial.md @@ -0,0 +1 @@ +Don't mock PontusX data with Sapphire diff --git a/src/oasis-nexus/api.ts b/src/oasis-nexus/api.ts index 68595930f8..bd1e14cac2 100644 --- a/src/oasis-nexus/api.ts +++ b/src/oasis-nexus/api.ts @@ -124,15 +124,6 @@ function arrayify(arrayOrItem: null | undefined | T | T[]): T[] { return arrayOrItem } -// TODO: remove when pontusx API is ready -axios.interceptors.request.use(config => { - // Mock pontusx - if (config.url?.includes('/v1/pontusx')) { - config.url = config.url.replace('/v1/pontusx', '/v1/sapphire') - } - return config -}) - export const useGetConsensusTransactions: typeof generated.useGetConsensusTransactions = ( network, params?,