Skip to content

Commit

Permalink
Fix Facility Notice functionality (ohcnetwork#8337)
Browse files Browse the repository at this point in the history
  • Loading branch information
aSriram199 authored Aug 21, 2024
1 parent 5eed756 commit 07109a8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Components/Facility/FacilityCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export const FacilityCard = (props: { facility: any; userType: any }) => {
Notification.Success({
msg: "Facility Notified",
});
setNotifyMessage("");
setNotifyModalFor(undefined);
} else {
Notification.Error({ msg: "Something went wrong..." });
Expand Down Expand Up @@ -224,6 +225,7 @@ export const FacilityCard = (props: { facility: any; userType: any }) => {
name="message"
rows={5}
className="pb-2 pt-4"
value={notifyMessage}
onChange={(e) => setNotifyMessage(e.value)}
placeholder="Type your message..."
error={notifyError}
Expand Down

0 comments on commit 07109a8

Please sign in to comment.