diff --git a/plugins/talk-plugin-profile-data/client/components/DeleteMyAccount.css b/plugins/talk-plugin-profile-data/client/components/DeleteMyAccount.css index e524d990a..e69de29bb 100644 --- a/plugins/talk-plugin-profile-data/client/components/DeleteMyAccount.css +++ b/plugins/talk-plugin-profile-data/client/components/DeleteMyAccount.css @@ -1,23 +0,0 @@ -.button { - color: #787D80; - border-radius: 2px; - border: 1px solid #787d80; - background-color: transparent; - height: 30px; - font-size: 0.9em; - line-height: normal; - - &:hover { - background-color: #eaeaea; - } - - &.secondary { - background-color: #787D80; - color: white; - } - - > i { - font-size: 1.2em; - vertical-align: middle; - } -} \ No newline at end of file diff --git a/plugins/talk-plugin-profile-data/client/components/DeleteMyAccount.js b/plugins/talk-plugin-profile-data/client/components/DeleteMyAccount.js index bbaca5b96..bbada134f 100644 --- a/plugins/talk-plugin-profile-data/client/components/DeleteMyAccount.js +++ b/plugins/talk-plugin-profile-data/client/components/DeleteMyAccount.js @@ -1,8 +1,6 @@ import React from 'react'; import PropTypes from 'prop-types'; -import cn from 'classnames'; import moment from 'moment'; -import styles from './DeleteMyAccount.css'; import { Button } from 'plugin-api/beta/client/components/ui'; import DeleteMyAccountDialog from './DeleteMyAccountDialog'; import { getErrorMessages } from 'coral-framework/utils'; @@ -59,28 +57,13 @@ class DeleteMyAccount extends React.Component { scheduledDeletionDate={scheduledDeletionDate} organizationContactEmail={organizationContactEmail} /> -

+

{t('delete_request.delete_my_account')}

-

+

{t('delete_request.delete_my_account_description')}

-

+

{scheduledDeletionDate && t( 'delete_request.already_submitted_request_description', @@ -88,18 +71,11 @@ class DeleteMyAccount extends React.Component { )}

{scheduledDeletionDate ? ( - ) : ( - )} diff --git a/plugins/talk-plugin-profile-data/client/graphql.js b/plugins/talk-plugin-profile-data/client/graphql.js index e0c459f7e..9b3711bfc 100644 --- a/plugins/talk-plugin-profile-data/client/graphql.js +++ b/plugins/talk-plugin-profile-data/client/graphql.js @@ -10,7 +10,7 @@ export default { ), }, mutations: { - RequestDownloadLink: () => ({ + DownloadCommentHistory: () => ({ updateQueries: { CoralEmbedStream_Profile: previousData => update(previousData, {