Skip to content

Commit

Permalink
Changed button type to Submit
Browse files Browse the repository at this point in the history
  • Loading branch information
nadamels committed Oct 25, 2023
1 parent afe8f6d commit d763d3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion front-end/src/components/student/CreateRequest.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export function CreateRequest({ isVisible, onClose }) {
</div>
<input className='file-select' type="file" id="fileInput" onChange={handleFileChange} />
</div>
<button className='close-button' onClick={onClose}>Submit Request</button>
<button type="submit" className='close-button' onClick={onClose}>Submit Request</button>
</div>
);
}

0 comments on commit d763d3b

Please sign in to comment.