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 0a593ba commit 997bdf7Copy full SHA for 997bdf7
src/ProfilesList.json
@@ -482,7 +482,7 @@
482
"ThunderShadows.json",
483
"sriharshitha37.json",
484
"revanthkumarJ.json",
485
- "Latika66.json",
+ "latika66.json",
486
"ChaitraTM.json",
487
"jUsTtulika.json",
488
"su-jin1425.json",
src/components/Profile/ProfilePage.jsx
@@ -20,7 +20,8 @@ const ProfilePage = () => {
20
useEffect(() => {
21
const fetchProfileData = async () => {
22
try {
23
- const profileFile = profilesList.find((file) => file.replace('.json', '') === name);
+ // Case-insensitive match for profile filename
24
+ const profileFile = profilesList.find((file) => file.replace('.json', '').toLowerCase() === name.toLowerCase());
25
if (!profileFile) {
26
setProfileData(null);
27
setLoading(false);
0 commit comments