Skip to content

Commit

Permalink
fix(client): remove hard-coded "keywords:" in certain templates
Browse files Browse the repository at this point in the history
fix #650
  • Loading branch information
AmruthPillai committed Mar 12, 2022
1 parent 01da1a0 commit dda42b4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 28 deletions.
8 changes: 1 addition & 7 deletions client/templates/Castform/widgets/Section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,7 @@ const Section: React.FC<SectionProps> = ({
</DataDisplay>
)}

{keywords && (
<div className="leading-normal">
<span className="font-semibold">Keywords:</span>
&nbsp;
{keywords.join(', ')}
</div>
)}
{keywords && <div>{keywords.join(', ')}</div>}

{(phone || email) && (
<div className="grid gap-1">
Expand Down
8 changes: 1 addition & 7 deletions client/templates/Gengar/widgets/Section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,7 @@ const Section: React.FC<SectionProps> = ({
</DataDisplay>
)}

{keywords && (
<div className="leading-normal">
<span className="font-semibold">Keywords:</span>
&nbsp;
{keywords.join(', ')}
</div>
)}
{keywords && <div>{keywords.join(', ')}</div>}

{(phone || email) && (
<div className="grid gap-1">
Expand Down
8 changes: 1 addition & 7 deletions client/templates/Onyx/widgets/Section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,7 @@ const Section: React.FC<SectionProps> = ({
</DataDisplay>
)}

{keywords && (
<div>
<span className="font-semibold">Keywords:</span>
&nbsp;
{keywords.join(', ')}
</div>
)}
{keywords && <div>{keywords.join(', ')}</div>}

{(phone || email) && (
<div className="grid gap-1">
Expand Down
8 changes: 1 addition & 7 deletions client/templates/Pikachu/widgets/Section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,7 @@ const Section: React.FC<SectionProps> = ({
</DataDisplay>
)}

{keywords && (
<div className="leading-normal">
<span className="font-semibold">Keywords:</span>
&nbsp;
{keywords.join(', ')}
</div>
)}
{keywords && <div>{keywords.join(', ')}</div>}

{(phone || email) && (
<div className="grid gap-1">
Expand Down

0 comments on commit dda42b4

Please sign in to comment.