Skip to content

Commit dda42b4

Browse files
committed
fix(client): remove hard-coded "keywords:" in certain templates
fix #650
1 parent 01da1a0 commit dda42b4

File tree

4 files changed

+4
-28
lines changed

4 files changed

+4
-28
lines changed

client/templates/Castform/widgets/Section.tsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -91,13 +91,7 @@ const Section: React.FC<SectionProps> = ({
9191
</DataDisplay>
9292
)}
9393

94-
{keywords && (
95-
<div className="leading-normal">
96-
<span className="font-semibold">Keywords:</span>
97-
&nbsp;
98-
{keywords.join(', ')}
99-
</div>
100-
)}
94+
{keywords && <div>{keywords.join(', ')}</div>}
10195

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

client/templates/Gengar/widgets/Section.tsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,7 @@ const Section: React.FC<SectionProps> = ({
9292
</DataDisplay>
9393
)}
9494

95-
{keywords && (
96-
<div className="leading-normal">
97-
<span className="font-semibold">Keywords:</span>
98-
&nbsp;
99-
{keywords.join(', ')}
100-
</div>
101-
)}
95+
{keywords && <div>{keywords.join(', ')}</div>}
10296

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

client/templates/Onyx/widgets/Section.tsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,7 @@ const Section: React.FC<SectionProps> = ({
9292
</DataDisplay>
9393
)}
9494

95-
{keywords && (
96-
<div>
97-
<span className="font-semibold">Keywords:</span>
98-
&nbsp;
99-
{keywords.join(', ')}
100-
</div>
101-
)}
95+
{keywords && <div>{keywords.join(', ')}</div>}
10296

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

client/templates/Pikachu/widgets/Section.tsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,7 @@ const Section: React.FC<SectionProps> = ({
8484
</DataDisplay>
8585
)}
8686

87-
{keywords && (
88-
<div className="leading-normal">
89-
<span className="font-semibold">Keywords:</span>
90-
&nbsp;
91-
{keywords.join(', ')}
92-
</div>
93-
)}
87+
{keywords && <div>{keywords.join(', ')}</div>}
9488

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

0 commit comments

Comments
 (0)