diff --git a/src/components/Category/CategoryPill.tsx b/src/components/Category/CategoryPill.tsx index 71b272b02..f53bd8113 100644 --- a/src/components/Category/CategoryPill.tsx +++ b/src/components/Category/CategoryPill.tsx @@ -40,23 +40,24 @@ function getProposalTypeLabel(proposalType: ProposalType) { const CategoryPill = ({ className, proposalType, size = 'default', isLink }: Props) => { const colorsConfig = ColorsConfig[proposalType] const pillClassNames = classNames('CategoryPill', className) - const href = isLink ? locations.proposals({ type: proposalType }) : '' + const Wrapper = isLink ? Link : 'div' + const href = isLink ? locations.proposals({ type: proposalType }) : undefined return ( <> - + {getProposalTypeShortLabel(proposalType)} - + - + {getProposalTypeLabel(proposalType)} - + ) diff --git a/src/images/.!16091!no-image.png b/src/images/.!16091!no-image.png deleted file mode 100644 index e69de29bb..000000000