update of experiences section to use DB

This commit is contained in:
2025-08-31 00:22:50 +02:00
parent 38a3259c5c
commit 4b53324125
3 changed files with 38 additions and 32 deletions
+2 -2
View File
@@ -7,7 +7,7 @@ function Skills() {
const [error, setError] = useState(null);
useEffect(() => {
const fetchProjects = async () => {
const fetchSkills = async () => {
try {
const response = await fetch('/api/skills');
if (!response.ok) {
@@ -19,7 +19,7 @@ function Skills() {
setError(err.message);
}
};
fetchProjects();
fetchSkills();
}, []);
if (error) {