Skip to content

Commit

Permalink
Merge pull request #61 from Bostonhacks/application-alert
Browse files Browse the repository at this point in the history
removed url
  • Loading branch information
danielyu12 authored Sep 26, 2023
2 parents 1f1bb8b + 844c5b5 commit 5f29208
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/pages/Application.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -151,14 +151,8 @@ const Application = ({ applicationId }) => {
const resumeRef = ref(storage, `${applicationId}`);

uploadBytes(resumeRef, resume).then(() => {
getDownloadURL(resumeRef).then((url) => {
updateDoc(userDoc, {
resumeURL: url,
}).then(() => {
alert('Application Submitted');
navigate('/');
});
});
alert('Application Submitted');
navigate('/');
});
} else {
alert('please upload a resume');
Expand Down

0 comments on commit 5f29208

Please sign in to comment.