We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91069e7 commit 65bf112Copy full SHA for 65bf112
src/components/Tiles/RecordTile.tsx
@@ -51,8 +51,20 @@ function jobDescriptorSection(
51
return (
52
<div className="flex flex-col justify-between sm:flex-row md:items-start">
53
<div>
54
- {isOrganizationBeforeRole ? organizationNameHeading : roleHeading}
55
- {!isOrganizationBeforeRole ? organizationNameHeading : roleHeading}
+ <>
+ {isOrganizationBeforeRole && (
56
57
+ {organizationNameHeading}
58
+ {roleHeading}
59
+ </>
60
+ )}
61
+ {!isOrganizationBeforeRole && (
62
63
64
65
66
67
68
{!isWidth768pxOrMore && (
69
<h3 className="font-typewriter text-gray-600 dark:text-gray-400">{duration}</h3>
70
)}
0 commit comments