update,
This commit is contained in:
@@ -73,7 +73,6 @@ export default function Page({ searchParams }: PageProps): React.JSX.Element {
|
||||
setShowError({
|
||||
//
|
||||
show: true,
|
||||
code: error.status,
|
||||
detail: JSON.stringify(error, null, 2),
|
||||
});
|
||||
} finally {
|
||||
@@ -141,7 +140,7 @@ export default function Page({ searchParams }: PageProps): React.JSX.Element {
|
||||
return (
|
||||
<ErrorDisplay
|
||||
message={t('error.unable-to-process-request')}
|
||||
code={showError.code}
|
||||
code={-1}
|
||||
details={showError.detail}
|
||||
/>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user