Skip to content

Commit dae2d29

Browse files
committed
Fix linting errors
1 parent af88f91 commit dae2d29

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

frontend/src/features/user-profile/components/DeleteUserModal.tsx

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React, { FC, useContext } from "react";
2+
import { useToast } from "@chakra-ui/react";
23
import PopupModal from "../../../components/common/PopupModal";
34
import UserAPIClient from "../../../APIClients/UserAPIClient";
4-
import { useToast } from "@chakra-ui/react";
55
import AuthContext from "../../../contexts/AuthContext";
66
import 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
);

0 commit comments

Comments
 (0)