-
Notifications
You must be signed in to change notification settings - Fork 400
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
Fix (HospitalList): textarea of notify facility modal #4227
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
✅ Deploy Preview for care-egov-staging ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey, move any functions that are not used in the HospitalList
component to the FacilityCard
And move FacilityCard
to a separate Component File
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
LGTM |
import { useState } from "react"; | ||
import { useDispatch } from "react-redux"; | ||
import { navigate } from "raviger"; | ||
import { TextField, Modal } from "@material-ui/core"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@naman114 can you refactor it to use custom components rather that mui
@naman114 what is the status of the PR |
Proposed Changes
FacilityCard
) was defined inside its parent (HospitalList
) RefHospitalList
by creating a separate component forFacilityCard
@coronasafe/care-fe-code-reviewers @coronasafe/code-reviewers
Merge Checklist