{/* Heading */}
{/* Loading/Error States */}
{loading && (
)}
{error && (
Error loading profile: {error}
)}
{/* Current Work Section */}
{!loading && !error && currentJobs.length > 0 && (
Current roles
{currentJobs.map((job, index) => (
<>
{index < currentJobs.length - 1 &&
}
>
))}
)}
{/* Past Work Section */}
{!loading && !error && pastJobs.length > 0 && (
Previous roles
{pastJobs.map((job, index) => (
<>
{index < pastJobs.length - 1 &&
}
>
))}
)}
{/* Exit */}