3b23f09bed
remove previous changes,keep syncpref in wallet, change anon wallet pref key to local sync choices wip dont relocate syncenable setting bump no prefs on web unauth bugfix redux bump pull after sync change bump
21 lines
453 B
JavaScript
21 lines
453 B
JavaScript
// @flow
|
|
import React from 'react';
|
|
import { Modal } from 'modal/modal';
|
|
import SyncToggleFlow from 'component/syncEnableFlow';
|
|
|
|
type Props = {
|
|
closeModal: () => void,
|
|
mode: string,
|
|
};
|
|
|
|
const ModalSyncEnable = (props: Props) => {
|
|
const { closeModal, mode } = props;
|
|
|
|
return (
|
|
<Modal isOpen type="card" onAborted={closeModal}>
|
|
<SyncToggleFlow closeModal={closeModal} mode={mode} />
|
|
</Modal>
|
|
);
|
|
};
|
|
|
|
export default ModalSyncEnable;
|