updated avatar
This commit is contained in:
parent
63649750d3
commit
88ad1e7e1b
|
@ -127,7 +127,6 @@ export default function Items({ token }) {
|
||||||
<Avatar
|
<Avatar
|
||||||
src= {axios.get(`${process.env.REACT_APP_API_URL}/items/${+item.ID}/image`, {
|
src= {axios.get(`${process.env.REACT_APP_API_URL}/items/${+item.ID}/image`, {
|
||||||
headers: { Authorization: `Bearer ${token}` }})}
|
headers: { Authorization: `Bearer ${token}` }})}
|
||||||
{Console.log(src)}
|
|
||||||
alt={item.name}
|
alt={item.name}
|
||||||
/>
|
/>
|
||||||
</ListItemAvatar>
|
</ListItemAvatar>
|
||||||
|
|
Loading…
Reference in New Issue