Add Dashboard nav item; simplify NavHeader#14013
Conversation
Introduce a DashboardNavItem component and wire it into the left navigation. Move dashboard link out of the top NavHeader (remove related imports and trackCount hook) and add DashboardNavItem to nav-items index and LeftNav render.
|
dylanjeffers
left a comment
There was a problem hiding this comment.
looks great, just need to fix web lint
| IconDashboard, | ||
| IconSettings | ||
| } from '@audius/harmony' | ||
| import { Flex, IconAudiusLogoHorizontalNew, IconSettings } from '@audius/harmony' |
There was a problem hiding this comment.
@julianbaker ask your model:
"Please run lint on web and fix the errors"
Reformat import of Flex, IconAudiusLogoHorizontalNew, and IconSettings from @audius/harmony into a multi-line import in packages/web/src/components/nav/desktop/NavHeader.tsx for improved readability. No functional changes.
🌐 Web preview readyPreview URL: https://audius-web-preview-pr-14013.audius.workers.dev Unique preview for this PR (deployed from this branch). |
Introduce a DashboardNavItem component and wire it into the left navigation. Move dashboard link out of the top NavHeader (remove related imports and trackCount hook) and add DashboardNavItem to nav-items index and LeftNav render.