fix conditional hook

This commit is contained in:
martin-mfg
2025-12-08 07:42:28 +01:00
parent 0aa62adb32
commit 17e2975ba6
+1 -1
View File
@@ -95,7 +95,7 @@ const HomeScreen = ({ stage, setStage }) => {
switch (selectedCard) {
case CardTypes.STATS:
case CardTypes.TOP_LANGS:
fullSuffix += `username=${useUserId(DEMO_USER)}`;
fullSuffix += `username=${userId}`;
break;
case CardTypes.PIN:
fullSuffix += `repo=anuraghazra/github-readme-stats`;