Skip to content

Commit 6403b56

Browse files
waleedlatif1claude
andcommitted
fix(icons): remove unused mask in PipedriveIcon
Why: the <mask> element had no consumer (no mask='url(#...)' anywhere in the SVG), so both it and the maskId variable were dead code. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 77a1f75 commit 6403b56

2 files changed

Lines changed: 2 additions & 12 deletions

File tree

apps/docs/components/icons.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4045,9 +4045,7 @@ export function AsanaIcon(props: SVGProps<SVGSVGElement>) {
40454045
}
40464046

40474047
export function PipedriveIcon(props: SVGProps<SVGSVGElement>) {
4048-
const id = useId()
4049-
const pathId = `${id}-path`
4050-
const maskId = `${id}-mask`
4048+
const pathId = useId()
40514049
return (
40524050
<svg
40534051
{...props}
@@ -4072,9 +4070,6 @@ export function PipedriveIcon(props: SVGProps<SVGSVGElement>) {
40724070
fillRule='evenodd'
40734071
>
40744072
<g transform='translate(67.000000, 44.000000)'>
4075-
<mask id={maskId} fill='white'>
4076-
<use href={`#${pathId}`} />
4077-
</mask>
40784073
<use fill='#FFFFFF' xlinkHref={`#${pathId}`} />
40794074
</g>
40804075
</g>

apps/sim/components/icons.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4045,9 +4045,7 @@ export function AsanaIcon(props: SVGProps<SVGSVGElement>) {
40454045
}
40464046

40474047
export function PipedriveIcon(props: SVGProps<SVGSVGElement>) {
4048-
const id = useId()
4049-
const pathId = `${id}-path`
4050-
const maskId = `${id}-mask`
4048+
const pathId = useId()
40514049
return (
40524050
<svg
40534051
{...props}
@@ -4072,9 +4070,6 @@ export function PipedriveIcon(props: SVGProps<SVGSVGElement>) {
40724070
fillRule='evenodd'
40734071
>
40744072
<g transform='translate(67.000000, 44.000000)'>
4075-
<mask id={maskId} fill='white'>
4076-
<use href={`#${pathId}`} />
4077-
</mask>
40784073
<use fill='#FFFFFF' xlinkHref={`#${pathId}`} />
40794074
</g>
40804075
</g>

0 commit comments

Comments
 (0)