Skip to content

Commit

Permalink
Merge pull request #208 from atlp-rwanda/ft-cancel-appoint
Browse files Browse the repository at this point in the history
Feature: Implemented the cancel appointment.
  • Loading branch information
Nkbtemmy authored Jul 10, 2024
2 parents f62451b + cba3f18 commit 722b69a
Show file tree
Hide file tree
Showing 8 changed files with 662 additions and 412 deletions.
5 changes: 0 additions & 5 deletions app/(app)/ActionMenu/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ import RemovefavoritePopup from "@/components/RemovefavoriteIndexPopup";

export default function Index() {
const [searchTerm, setSearchTerm] = useState<string>("");
const [userData, setUserData] = useState<[]>([]);
const [patientData, setPatientData] = useState(null);
const [imageUrl, setImageUrl] = useState([]);
const [activeIcon, setActiveIcon] = useState("Home");
Expand Down Expand Up @@ -73,10 +72,6 @@ export default function Index() {
const scrollbackColor =
theme === "dark" ? styles.scrollDark : styles.scrollLight;

useEffect(() => {
getPatientData(supabase, setUserData);
}, []);

useEffect(() => {
if (userId ) {
fetchPatientData(userId , setPatientData);
Expand Down
255 changes: 0 additions & 255 deletions app/(app)/Appointments/CancelAppointment/cancelreason.tsx

This file was deleted.

Loading

0 comments on commit 722b69a

Please sign in to comment.