fix(i18n): dashboard welcome greeting — remove {{name}} interpolation dupe
This commit is contained in:
parent
0a90a285e7
commit
9eca0fbd52
1 changed files with 1 additions and 1 deletions
|
|
@ -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' && (
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue