mały fix odnośnie błędu na starcie aplikacji

This commit is contained in:
2025-06-12 10:13:20 +02:00
parent 0790285ae5
commit 945d225a9f
2 changed files with 11 additions and 9 deletions

View File

@@ -20,7 +20,9 @@ export function UserSection({ notices, title }) {
}
};
fetchUsers();
if (token) {
fetchUsers();
}
}, [token]);
const usersWithNoticeCount =