diff --git a/net/web/src/admin/dashboard/accountItem/AccountItem.jsx b/net/web/src/admin/dashboard/accountItem/AccountItem.jsx
index e0f8a370..159297c5 100644
--- a/net/web/src/admin/dashboard/accountItem/AccountItem.jsx
+++ b/net/web/src/admin/dashboard/accountItem/AccountItem.jsx
@@ -1,13 +1,24 @@
import { Logo } from 'logo/Logo';
import { AccountItemWrapper, AccessLayout, DeleteButton, EnableButton, DisableButton, ResetButton } from './AccountItem.styled';
import { useAccountItem } from './useAccountItem.hook';
-import { CopyOutlined, UserDeleteOutlined, UnlockOutlined, CloseCircleOutlined, CheckCircleOutlined } from '@ant-design/icons';
+import { ExclamationCircleOutlined, CopyOutlined, UserDeleteOutlined, UnlockOutlined, CloseCircleOutlined, CheckCircleOutlined } from '@ant-design/icons';
import { Modal, Tooltip, Button } from 'antd';
export function AccountItem({ token, item, remove }) {
const { state, actions } = useAccountItem(token, item, remove);
+ const removeAccount = () => {
+ Modal.confirm({
+ title: 'Are you sure you want to delete the account?',
+ icon: ,
+ onOk() {
+ actions.remove();
+ },
+ onCancel() {},
+ });
+ }
+
const onClipboard = (value) => {
navigator.clipboard.writeText(value);
};
@@ -50,7 +61,7 @@ export function AccountItem({ token, item, remove }) {
}
- loading={state.removeBusy} onClick={() => actions.remove()}>
+ loading={state.removeBusy} onClick={removeAccount}>