Commit 8d4a23f1 authored by tom goriunov's avatar tom goriunov Committed by GitHub

Trust 422 from api for invalid params (#1793)

Fixes #1786
parent 50910f8a
...@@ -39,7 +39,7 @@ const TransactionPageContent = () => { ...@@ -39,7 +39,7 @@ const TransactionPageContent = () => {
const txQuery = useTxQuery(); const txQuery = useTxQuery();
const { data, isPlaceholderData, isError, error, errorUpdateCount } = txQuery; const { data, isPlaceholderData, isError, error, errorUpdateCount } = txQuery;
const showDegradedView = publicClient && (isError || isPlaceholderData) && errorUpdateCount > 0; const showDegradedView = publicClient && ((isError && error.status !== 422) || isPlaceholderData) && errorUpdateCount > 0;
const tabs: Array<RoutedTab> = (() => { const tabs: Array<RoutedTab> = (() => {
const detailsComponent = showDegradedView ? const detailsComponent = showDegradedView ?
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment