Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relavant Titles #2177

Closed
gigincg opened this issue Mar 16, 2022 · 0 comments · Fixed by #2181
Closed

Relavant Titles #2177

gigincg opened this issue Mar 16, 2022 · 0 comments · Fixed by #2181
Assignees

Comments

@gigincg
Copy link
Member

gigincg commented Mar 16, 2022

Currently we are not using the Document title in Care. We need to implement some effects that update the title when you load a page. I think an approach like this would work well.

useEffect(()=>{
const title = document.title
document.title = "Patient Consultation"
return (() => {
    document.title = title
})
},[])

Let's make this a habit for any page that we work on.

@bodhish opinions?

@mathew-alex mathew-alex added this to Care Mar 16, 2022
@mathew-alex mathew-alex moved this to Triage in Care Mar 16, 2022
@shrihari689 shrihari689 self-assigned this Mar 16, 2022
Repository owner moved this from Triage to Done in Care May 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants