Fix error page error interpolation (#2302)

* Fix error page error interpolation

* Run prettier

---------

Co-authored-by: SleeplessOne1917 <insomnia-void@protonmail.com>
This commit is contained in:
SleeplessOne1917 2024-01-07 17:13:05 +00:00 committed by GitHub
parent b41aa874bf
commit e2fa55e122
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 2 deletions

@ -1 +1 @@
Subproject commit 037d39e5450f551d04b74a66c14e0acc7251087f
Subproject commit 5d45389ef4a12489e80b44af4443b29ca6161293

View file

@ -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>
)}