mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-12-23 03:11:25 +00:00
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:
parent
b41aa874bf
commit
e2fa55e122
2 changed files with 8 additions and 2 deletions
|
@ -1 +1 @@
|
|||
Subproject commit 037d39e5450f551d04b74a66c14e0acc7251087f
|
||||
Subproject commit 5d45389ef4a12489e80b44af4443b29ca6161293
|
|
@ -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>
|
||||
)}
|
||||
|
|
Loading…
Reference in a new issue