Skip to content

Commit

Permalink
fixed missing mentor id
Browse files Browse the repository at this point in the history
  • Loading branch information
supersweet-dev committed Jun 23, 2021
1 parent 783548d commit 5af3723
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion client/src/components/my-mentor-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,9 @@ export default function MyMentorCard(props: {
data-cy="upload-file"
type="file"
accept="image/*"
onChange={(e) => uploadThumbnail("", e!.target!.files![0])}
onChange={(e) =>
uploadThumbnail(props.mentorId, e!.target!.files![0])
}
/>
</Box>
<Box
Expand Down

0 comments on commit 5af3723

Please sign in to comment.