lbry-desktop/ui/modal/modalSyncEnable/view.jsx
jessop 3b23f09bed fix sync clean wallet bug
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
2020-09-21 14:11:25 -04:00

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;