Skip to content

Commit

Permalink
fix(ui): debug ProfileImageInput component
Browse files Browse the repository at this point in the history
  • Loading branch information
Uthra-karunakaran committed Aug 27, 2024
1 parent 9548293 commit 59730e3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions components/basic/ProfileImageInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,19 @@ function ProfileImageInput({ image, setImage, className }) {
/>
{/* image input with label */}
<div>
<label htmlFor="mentorProfile">
<label
htmlFor="mentorProfileone"
className="mentorFormButton theme-button-color !tw-font-medium"
>
{!image ? "Upload Image" : "Change Image"}
</label>
<input
type="file"
accept="image/*"
id="mentorProfile"
id="mentorProfileone"
className="mentorFormInput"
name="mentorProfileImage"
hidden
onChange={(e) => handleImageChange(e)}
required
aria-label="Upload your image"
Expand Down

0 comments on commit 59730e3

Please sign in to comment.