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> <div>
<Home/> <Home/>
<Experiences/> <Experiences/>
<Projects/>
<Skills/>
<Footer/> <Footer/>
</div> </div>
); );
@@ -32,7 +32,7 @@ function Experiences() {
<h1 className="section-title">Experiences</h1> <h1 className="section-title">Experiences</h1>
<div className="experiences-container"> <div className="experiences-container">
{experiences.map((exp) => ( {experiences.map((exp) => (
<SingleExperience experience={exp} tasks={experienceTasks.filter(task => task.experience_id === exp.id)}/> <SingleExperience experience={exp}/>
))} ))}
</div> </div>
</section> </section>
@@ -1,6 +1,6 @@
import './SingleExperience.css'; import './SingleExperience.css';
function SingleExperience({ experience, tasks }) { function SingleExperience({ experience }) {
return ( return (
<div className="experience-card"> <div className="experience-card">
<div className="experience-card-left"> <div className="experience-card-left">