Fixed the image upload problem and moved the resource routes from the resources+ folder as the react router doesn't support this. #647
+46
−35
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.

Type of Change
User was not able to update or view their current profile image in the /settings/profile route. The update icon was disabled. Also, the files in the resources+ directory has been moved outside the directory and renamed as resources.fileName in the routes folder, as the react-router does not identify these routes in the resources folder.
Implementation
I have updated the action function in the /settings/profile/photo route. Earlier, it was deleting the same photo that was recently added. In the /settings/profile route, i enabled pointer events for the link element right below the Avatar element because it was disabled before, which prevents the user from updating their profile picture. I removed all the files in the resources+ directory to outside the directory and inside the routes directory and renamed them as resources.fileName, as the react-router was not recognising these routes in the resources+ directory.
Checklist
devbranchAdditional Information