Optimize FilterIcon rendering in DashboardBreadcrumb component
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Simplified the rendering of the FilterIcon by removing unnecessary opacity styling, enhancing visual clarity while maintaining the intended design. - This change contributes to a cleaner and more efficient component structure in the Dashboard.
This commit is contained in:
parent
9b17253c6d
commit
342f770841
@ -77,9 +77,7 @@ const DashboardBreadcrumb = () => {
|
|||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{name}
|
{name}
|
||||||
{showFilterIcon && (
|
{showFilterIcon && <FilterIcon style={{ fontSize: 12 }} />}
|
||||||
<FilterIcon style={{ fontSize: 12, opacity: 0.65 }} />
|
|
||||||
)}
|
|
||||||
</Link>
|
</Link>
|
||||||
),
|
),
|
||||||
key: url
|
key: url
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user