Skip to content

Commit c5f972d

Browse files
author
sunny chen
committed
remove redundan imports and comments
1 parent 6e8c667 commit c5f972d

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

client/src/components/sidebar/friends/RemoveFriend.tsx

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { Alert, Button, Dialog, Popover, Snackbar, Typography } from '@mui/material';
2-
import { margin, minHeight, styled } from '@mui/system';
3-
import { min } from 'date-fns';
2+
import { styled } from '@mui/system';
43
import { useState } from 'react';
54

65
export const emptyProfile = 'https://cdn.pixabay.com/photo/2015/10/05/22/37/blank-profile-picture-973460_960_720.png';
@@ -103,13 +102,6 @@ const RemoveFriend = ({ anchorEl, open, onClose, firstName, profileURL }: Remove
103102
<StyledContainer>
104103
<StyledDialogTitle>Remove {firstName}?</StyledDialogTitle>
105104
<StyledDialogText>Are you sure you want to remove {firstName} from your friends?</StyledDialogText>
106-
107-
{/* <img
108-
src={profileURL ?? emptyProfile}
109-
width={34}
110-
height={34}
111-
style={{ borderRadius: 999, backgroundColor: 'white' }}
112-
/> */}
113105
<StyledButtonContainer>
114106
<CancelRemove onClick={handleDialogClose}> Cancel </CancelRemove>
115107
<ConfirmRemove onClick={handleConfirmRemove}>Confirm</ConfirmRemove>

0 commit comments

Comments
 (0)