fix(dashboard): use Edit label to match empty-state copy
Empty dashboard message tells users to click Edit, but the header button was hardcoded as Design. Use t(labels.edit) so the control matches the i18n empty-state string. Fixes #4398
This commit is contained in:
1 parent
af1b6c6efc
commit
c9122c0bec
1 file changed
+1
-1
@@ -11,7 +11,7 @@ export function DashboardViewHeader() {
|
||||
return (
|
||||
<PageHeader title={t(labels.dashboard)}>
|
||||
<LinkButton href={renderUrl('/dashboard/edit', false)}>
|
||||
<IconLabel icon={<LayoutDashboard />}>Design</IconLabel>
|
||||
<IconLabel icon={<LayoutDashboard />}>{t(labels.edit)}</IconLabel>
|
||||
</LinkButton>
|
||||
</PageHeader>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user