Skip to content

Commit 8b53567

Browse files
author
Lauren Pothuru
committed
Update apartment removal
1 parent 03b8939 commit 8b53567

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

frontend/src/pages/FolderDetailPage.tsx

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -197,10 +197,7 @@ const FolderDetailPage = ({ user, setUser }: Props): ReactElement => {
197197
<Dialog open={showRemoveApartmentModal} onClose={() => setShowRemoveApartmentModal(false)}>
198198
<DialogTitle>Remove Apartments from Folder</DialogTitle>
199199
<DialogContent>
200-
<Typography>
201-
Select apartments to remove from the folder or click "Remove All" to remove all
202-
apartments.
203-
</Typography>
200+
<Typography>Select apartments to remove from the folder.</Typography>
204201
<FormGroup>
205202
{apartments.map((apt) => (
206203
<Box key={apt.buildingData.id} display="flex" alignItems="center" mt={2}>
@@ -238,13 +235,6 @@ const FolderDetailPage = ({ user, setUser }: Props): ReactElement => {
238235
>
239236
Remove Selected
240237
</Button>
241-
<Button
242-
onClick={() => handleRemoveApartments(apartments.map((apt) => apt.buildingData.id))}
243-
color="primary"
244-
variant="outlined"
245-
>
246-
Remove All
247-
</Button>
248238
</DialogActions>
249239
</Dialog>
250240
<Box style={{ width: '90%', maxWidth: '1200px' }}>

0 commit comments

Comments
 (0)