Show What's New dialog in app via Help -> Go to release notes
This commit is contained in:
parent
3e38a4b761
commit
191bfee18c
14 changed files with 249 additions and 142 deletions
|
@ -10,6 +10,8 @@ import { SmartProfileEditorModal } from './ProfileEditorModal';
|
|||
import { SmartContactModal } from './ContactModal';
|
||||
import { SmartSafetyNumberModal } from './SafetyNumberModal';
|
||||
|
||||
import { getIntl } from '../selectors/user';
|
||||
|
||||
const FilteredSmartProfileEditorModal = SmartProfileEditorModal;
|
||||
|
||||
function renderProfileEditor(): JSX.Element {
|
||||
|
@ -21,8 +23,11 @@ function renderContactModal(): JSX.Element {
|
|||
}
|
||||
|
||||
const mapStateToProps = (state: StateType) => {
|
||||
const i18n = getIntl(state);
|
||||
|
||||
return {
|
||||
...state.globalModals,
|
||||
i18n,
|
||||
renderContactModal,
|
||||
renderProfileEditor,
|
||||
renderSafetyNumber: () => (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue