Skip to content

E2535: Change Save button to blue (primary) and remove CSS override#142

Open
Vishalreddy2020 wants to merge 1 commit into
expertiza:mainfrom
Vishalreddy2020:e2535-button-color
Open

E2535: Change Save button to blue (primary) and remove CSS override#142
Vishalreddy2020 wants to merge 1 commit into
expertiza:mainfrom
Vishalreddy2020:e2535-button-color

Conversation

@Vishalreddy2020
Copy link
Copy Markdown
Contributor

No description provided.

Co-authored-by: Cursor <cursoragent@cursor.com>

// Fetch user profile
useEffect(() => {
axios.get(`http://localhost:3002/api/v1/users/${auth.user.id}/get_profile`, {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of hardcoding the backend endpoint, use axiosClient from "../../utils/axios_client" so that page wont get effected when the backend url changes. eg. use [axiosClient.get(/users/${auth.user.id}/get_profile)]. Apply the same for all the backend fetches.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants