minor fix
This commit is contained in:
parent
3ec0d168eb
commit
0f7f866cde
1 changed files with 0 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue