Skip to content

Commit cb3ecad

Browse files
committed
Remove Expenses and Notes tabs from TripDetailsPage for simplified navigation
1 parent 891493a commit cb3ecad

1 file changed

Lines changed: 0 additions & 20 deletions

File tree

planventure-client/src/pages/TripDetailsPage.jsx

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,6 @@ const TripDetailsPage = () => {
145145
<Tabs value={tabValue} onChange={handleTabChange} sx={{ borderBottom: 1, borderColor: 'divider' }}>
146146
<Tab label="Overview" />
147147
<Tab label="Itinerary" />
148-
<Tab label="Expenses" />
149-
<Tab label="Notes" />
150148
</Tabs>
151149

152150
<TabPanel value={tabValue} index={0}>
@@ -166,24 +164,6 @@ const TripDetailsPage = () => {
166164
{/* Add itinerary content */}
167165
</Box>
168166
</TabPanel>
169-
170-
<TabPanel value={tabValue} index={2}>
171-
<Box>
172-
<Typography variant="h6" gutterBottom>
173-
Expenses
174-
</Typography>
175-
{/* Add expenses content */}
176-
</Box>
177-
</TabPanel>
178-
179-
<TabPanel value={tabValue} index={3}>
180-
<Box>
181-
<Typography variant="h6" gutterBottom>
182-
Notes
183-
</Typography>
184-
{/* Add notes content */}
185-
</Box>
186-
</TabPanel>
187167
</Paper>
188168
</Box>
189169
);

0 commit comments

Comments
 (0)