File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed
frontend/src/features/user-profile/components Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change 11import React , { FC , useContext } from "react" ;
2+ import { useToast } from "@chakra-ui/react" ;
23import PopupModal from "../../../components/common/PopupModal" ;
34import UserAPIClient from "../../../APIClients/UserAPIClient" ;
4- import { useToast } from "@chakra-ui/react" ;
55import AuthContext from "../../../contexts/AuthContext" ;
66import AUTHENTICATED_USER_KEY from "../../../constants/AuthConstants" ;
77
@@ -50,14 +50,12 @@ const DeleteUserModal: FC<DeleteUserModalProps> = ({
5050 return (
5151 < PopupModal
5252 open = { isOpen }
53- title = { "Delete User?" }
54- message = {
55- "Are you sure you want to delete this user? This process cannot be undone."
56- }
57- primaryButtonText = { "Delete" }
53+ title = "Delete User?"
54+ message = "Are you sure you want to delete this user? This process cannot be undone."
55+ primaryButtonText = "Delete"
5856 onPrimaryClick = { handlePrimaryButtonClick }
59- primaryButtonColor = { "red" }
60- secondaryButtonText = { "Cancel" }
57+ primaryButtonColor = "red"
58+ secondaryButtonText = "Cancel"
6159 onSecondaryClick = { handleSecondaryButtonClick }
6260 />
6361 ) ;
You can’t perform that action at this time.
0 commit comments