minor fix

This commit is contained in:
pavel Hamawand 2024-03-18 17:06:05 +01:00
parent 3ec0d168eb
commit 0f7f866cde

View file

@ -9,7 +9,6 @@ const UserProjectListAdmin: React.FC = () => {
const fetchProjects = async (): Promise<void> => { const fetchProjects = async (): Promise<void> => {
try { try {
const token = localStorage.getItem("accessToken") ?? ""; const token = localStorage.getItem("accessToken") ?? "";
const username = getUsernameFromContext(); // Assuming you have a function to get the username from your context
const response = await api.getUserProjects("", token); const response = await api.getUserProjects("", token);
if (response.success) { if (response.success) {