mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-14 08:42:08 +10:00
fix issue with gengar not adhering to enble property
This commit is contained in:
@ -116,12 +116,13 @@ const Gengar = () => {
|
||||
</div>
|
||||
);
|
||||
|
||||
const Certifications = () => (
|
||||
<div className="mb-8">
|
||||
<Heading title={data.certifications.heading} />
|
||||
{data.certifications.items.map(CertificationItem)}
|
||||
</div>
|
||||
);
|
||||
const Certifications = () =>
|
||||
data.certifications.enable && (
|
||||
<div className="mb-8">
|
||||
<Heading title={data.certifications.heading} />
|
||||
{data.certifications.items.map(CertificationItem)}
|
||||
</div>
|
||||
);
|
||||
|
||||
const AwardItem = x => (
|
||||
<div key={x.title} className="mb-3">
|
||||
@ -131,12 +132,13 @@ const Gengar = () => {
|
||||
</div>
|
||||
);
|
||||
|
||||
const Awards = () => (
|
||||
<div className="mb-8">
|
||||
<Heading title={data.awards.heading} />
|
||||
{data.awards.items.map(AwardItem)}
|
||||
</div>
|
||||
);
|
||||
const Awards = () =>
|
||||
data.awards.enable && (
|
||||
<div className="mb-8">
|
||||
<Heading title={data.awards.heading} />
|
||||
{data.awards.items.map(AwardItem)}
|
||||
</div>
|
||||
);
|
||||
|
||||
const WorkItem = x => (
|
||||
<div key={x.title} className="mb-3">
|
||||
|
||||
Reference in New Issue
Block a user