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 6981674 commit c3b6f3eCopy full SHA for c3b6f3e
1 file changed
src/components/Profile/ProfilePage.jsx
@@ -28,7 +28,6 @@ const ProfilePage = () => {
28
}
29
const response = await fetch(`/data/${profileFile}`);
30
const data = await response.json();
31
- // Add fileName (without .json) to the profile data
32
setProfileData({ ...data, fileName: profileFile.replace('.json', '') });
33
} catch (error) {
34
console.error('Error fetching profile data:', error);
0 commit comments