Fix translations for other languages

This commit is contained in:
Raphael Canguçu
2023-02-08 19:19:48 -03:00
parent 49e47b28de
commit 279dd36a13
5 changed files with 61 additions and 13 deletions

View File

@ -62,7 +62,7 @@ const Heading: React.FC<Props> = ({
{editMode ? (
<TextField size="small" value={heading} className="w-3/4" onChange={handleChange} />
) : (
<h1>{heading}</h1>
<h1>{t<string>(`builder.leftSidebar.${path}.heading`, heading)}</h1>
)}
</div>