Skip to content

Commit fca6e1c

Browse files
committed
doc for data tab
1 parent 175c655 commit fca6e1c

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

frontend/src/pages/AdminPage.tsx

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,15 @@ const useStyles = makeStyles((theme) => ({
5757
/**
5858
* AdminPage Component
5959
*
60-
* This component represents a page that only authorized admins can view. The page displays information about reviews, allows admins
61-
* to approve or decline reviews. The page also displays contact information from the contact modals ("Can't Find Your Apartment" form
62-
* and "Ask Us a Question" form).
60+
* This component represents a page that only authorized admins can view. The page has three main tabs:
6361
*
64-
* @returns The rendered AdminPage component.
62+
* 1. Reviews - Displays review information and allows admins to approve/decline reviews
63+
* 2. Contact - Shows contact form submissions ("Can't Find Your Apartment" and "Ask Us a Question")
64+
* 3. Data - Displays a comprehensive list of all apartments with their key details
65+
*
66+
* Admins can manage content, respond to user inquiries, and view apartment data all in one place.
67+
*
68+
* @returns The rendered AdminPage component with tabbed navigation between Reviews, Contact, and Data sections.
6569
*/
6670
const AdminPage = (): ReactElement => {
6771
const [selectedTab, setSelectedTab] = useState('Reviews');

0 commit comments

Comments
 (0)