diff --git a/frontend/src/components/dialog/common-operation-confirmation-dialog.js b/frontend/src/components/dialog/common-operation-confirmation-dialog.js
index d7e06bec92..e99f3bddc0 100644
--- a/frontend/src/components/dialog/common-operation-confirmation-dialog.js
+++ b/frontend/src/components/dialog/common-operation-confirmation-dialog.js
@@ -1,7 +1,8 @@
import React, { Component } from 'react';
import PropTypes from 'prop-types';
-import { Modal, ModalHeader, ModalBody, ModalFooter, Button } from 'reactstrap';
+import { Modal, ModalBody, ModalFooter, Button } from 'reactstrap';
import { gettext } from '../../utils/constants';
+import SeahubModalHeader from '@/components/common/seahub-modal-header';
const propTypes = {
title: PropTypes.string.isRequired,
@@ -26,7 +27,7 @@ class CommonOperationConfirmationDialog extends Component {
let { title, message, confirmBtnText } = this.props;
return (
- {title}
+ {title}
diff --git a/frontend/src/components/dialog/confirm-delete-account.js b/frontend/src/components/dialog/confirm-delete-account.js
index 9d3f392a43..a434230912 100644
--- a/frontend/src/components/dialog/confirm-delete-account.js
+++ b/frontend/src/components/dialog/confirm-delete-account.js
@@ -1,7 +1,8 @@
import React, { Component } from 'react';
import PropTypes from 'prop-types';
-import { Modal, ModalHeader, ModalBody, ModalFooter, Button } from 'reactstrap';
+import { Modal, ModalBody, ModalFooter, Button } from 'reactstrap';
import { gettext } from '../../utils/constants';
+import SeahubModalHeader from '@/components/common/seahub-modal-header';
const propTypes = {
formActionURL: PropTypes.string.isRequired,
@@ -24,7 +25,7 @@ class ConfirmDeleteAccount extends Component {
const { formActionURL, csrfToken, toggle } = this.props;
return (
- {gettext('Delete Account')}
+ {gettext('Delete Account')}
{gettext('Really want to delete your account?')}