Skip to content

Commit

Permalink
Fix error page error interpolation (#2302)
Browse files Browse the repository at this point in the history
* Fix error page error interpolation

* Run prettier

---------

Co-authored-by: SleeplessOne1917 <[email protected]>
  • Loading branch information
SleeplessOne1917 and SleeplessOne1917 authored Jan 7, 2024
1 parent b41aa87 commit e2fa55e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion src/shared/components/app/error-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,13 @@ export class ErrorPage extends Component<any, any> {
</>
)}
{errorPageData?.error && (
<T i18nKey="error_code_message" parent="p">
<T
i18nKey="error_code_message"
parent="p"
interpolation={{
error: errorPageData.error,
}}
>
#<strong className="text-danger">#</strong>#
</T>
)}
Expand Down

0 comments on commit e2fa55e

Please sign in to comment.