diff --git a/ui/component/settingAccount/view.jsx b/ui/component/settingAccount/view.jsx index 2e7e0494b..bca8861b1 100644 --- a/ui/component/settingAccount/view.jsx +++ b/ui/component/settingAccount/view.jsx @@ -58,9 +58,7 @@ export default function SettingAccount(props: Props) { )} {/* @if TARGET='app' */} -
- -
+ {/* @endif */} {/* @if TARGET='web' */} diff --git a/ui/component/syncToggle/view.jsx b/ui/component/syncToggle/view.jsx index e6a702947..c795ed1b7 100644 --- a/ui/component/syncToggle/view.jsx +++ b/ui/component/syncToggle/view.jsx @@ -2,6 +2,7 @@ import * as MODALS from 'constants/modal_types'; import React from 'react'; import Button from 'component/button'; +import SettingsRow from 'component/settingsRow'; import { withRouter } from 'react-router'; import { FormField } from 'component/common/form'; @@ -20,11 +21,14 @@ function SyncToggle(props: Props) { const { verifiedEmail, openModal, syncEnabled, disabled } = props; return ( -
+ openModal(MODALS.SYNC_ENABLE, { mode: syncEnabled ? 'disable' : 'enable' })} disabled={disabled || !verifiedEmail} @@ -40,7 +44,7 @@ function SyncToggle(props: Props) {
)} - + ); }