Skip to content

Commit

Permalink
🗑️ refactor(appointments): Remove unwanted appointments component
Browse files Browse the repository at this point in the history
- Delete unused appointments component
- Clean up related code and references

Footer: 0.1.6
  • Loading branch information
fasakinhenry committed Jun 22, 2024
1 parent b314ab0 commit 5cd7d4b
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 10 deletions.
6 changes: 3 additions & 3 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import Dashboard from './components/Dashboard';
import Search from './components/Search';
import Messages from './components/Messages';
import PrenatalCare from './components/PrenatalCare';
import Payment from './components/Payment';
import Profile from './components/Profile';
import Appointments from './components/Appointments';
import Medication from './components/Medication';
import Records from './components/Records';
import Consultants from './components/Consultants';
Expand Down Expand Up @@ -40,8 +40,8 @@ const App = () => (
<Route path='/search' element={<Search />} />
<Route path='/messages' element={<Messages />} />
<Route path='/prenatal-care' element={<PrenatalCare />} />
<Route path='/profile' element={<Profile />} />
<Route path='/appointments' element={<Appointments />} />
<Route path='/prenatal-care' element={<PrenatalCare />} />
<Route path='/payment' element={<Payment />} />
<Route path='/medication' element={<Medication />} />
<Route path='/records' element={<Records />} />
<Route path='/consultants' element={<Consultants />} />
Expand Down
7 changes: 0 additions & 7 deletions src/components/Appointments.jsx

This file was deleted.

12 changes: 12 additions & 0 deletions src/components/Payment.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import React from 'react';

const Payment = () => {
return (
<div>
<h1 className='text-2xl font-bold mb-4'>My Payment</h1>
{/* Add payment information and editing functionality here */}
</div>
);
};

export default Payment;

0 comments on commit 5cd7d4b

Please sign in to comment.