fix(i18n): dashboard welcome greeting — remove {{name}} interpolation dupe

This commit is contained in:
Vadym Samoilenko 2026-05-24 18:07:59 +01:00
parent 0a90a285e7
commit 9eca0fbd52

View file

@ -231,7 +231,7 @@ const Dashboard = () => {
<div className="flex flex-col sm:flex-row items-start sm:items-center justify-between gap-4 mb-8">
<div>
<h1 className="font-display font-bold text-3xl md:text-4xl text-foreground">
{t('dashboard.welcome', 'Welcome back,')}, <span className="text-primary">{user?.username}</span>
{t('dashboard.welcome')} <span className="text-primary">{user?.username}</span>
</h1>
<div className="flex items-center gap-2 mt-2 flex-wrap">
{user?.role === 'admin' && (