update fetch url to match new api prefix

This commit is contained in:
2026-06-15 11:34:46 +02:00
parent b142112ce0
commit 5401774e0e
3 changed files with 3 additions and 4 deletions
+1 -2
View File
@@ -25,8 +25,7 @@ function HomePage() {
<div>
<Home/>
<Experiences/>
<Projects/>
<Skills/>
<Footer/>
</div>
);
@@ -32,7 +32,7 @@ function Experiences() {
<h1 className="section-title">Experiences</h1>
<div className="experiences-container">
{experiences.map((exp) => (
<SingleExperience experience={exp} tasks={experienceTasks.filter(task => task.experience_id === exp.id)}/>
<SingleExperience experience={exp}/>
))}
</div>
</section>
@@ -1,6 +1,6 @@
import './SingleExperience.css';
function SingleExperience({ experience, tasks }) {
function SingleExperience({ experience }) {
return (
<div className="experience-card">
<div className="experience-card-left">