mirror of
https://github.com/pds-nest/nest.git
synced 2024-11-25 14:34:19 +00:00
🧊 Remove redundant return await
This commit is contained in:
parent
3508fd2125
commit
355095ce7d
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ export default function GlobalUser({ children }) {
|
||||||
}
|
}
|
||||||
init["headers"]["Authorization"] = `Bearer ${user["token"]}`
|
init["headers"]["Authorization"] = `Bearer ${user["token"]}`
|
||||||
|
|
||||||
return await fetchData(method, path, body, init)
|
return fetchData(method, path, body, init)
|
||||||
}, [fetchData, user])
|
}, [fetchData, user])
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue