Skip to content

Commit

Permalink
Merge pull request #440 from NIAEFEUP/feat/profile-picture-requests
Browse files Browse the repository at this point in the history
feat: profile picture requests
  • Loading branch information
tomaspalma authored Feb 6, 2025
2 parents 2750f1c + 946e629 commit dfe3080
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import { StudentRequestCardStatus } from "../../../../../utils/requests"
import { RequestCardStatus } from "./RequestCardStatus"
import ExchangeRequestCommonContext from "../../../../../contexts/ExchangeRequestCommonContext"
import { RequestCardPendingMotive } from "./RequestCardPendingMotive"
import studentInfoService from "../../../../../api/services/studentInfo"

type Props = {
name: string
Expand Down Expand Up @@ -52,7 +53,7 @@ export const CommonCardHeader = ({
return <CardHeader
className="flex flex-row gap-x-2 items-center p-4"
>
<img className="w-10 h-10 rounded-full shadow-md" src="https://upload.wikimedia.org/wikipedia/commons/thumb/3/35/Tux.svg/1200px-Tux.svg.png"></img>
<img className="w-10 h-10 rounded-full shadow-md" src={studentInfoService.getStudentPictureUrl(username)}></img>
<div className="flex flex-row justify-between items-center w-full">
<div className="flex flex-col w-full">
<div className="flex flex-row justify-between w-full items-center">
Expand Down

0 comments on commit dfe3080

Please sign in to comment.