Move all status/alert dialogs into the Left Pane
This commit is contained in:
parent
101070bf42
commit
18fd44f504
50 changed files with 1298 additions and 607 deletions
16
ts/state/smart/ExpiredBuildDialog.tsx
Normal file
16
ts/state/smart/ExpiredBuildDialog.tsx
Normal file
|
@ -0,0 +1,16 @@
|
|||
import { connect } from 'react-redux';
|
||||
import { mapDispatchToProps } from '../actions';
|
||||
import { ExpiredBuildDialog } from '../../components/ExpiredBuildDialog';
|
||||
import { StateType } from '../reducer';
|
||||
import { getIntl } from '../selectors/user';
|
||||
|
||||
const mapStateToProps = (state: StateType) => {
|
||||
return {
|
||||
hasExpired: state.expiration.hasExpired,
|
||||
i18n: getIntl(state),
|
||||
};
|
||||
};
|
||||
|
||||
const smart = connect(mapStateToProps, mapDispatchToProps);
|
||||
|
||||
export const SmartExpiredBuildDialog = smart(ExpiredBuildDialog);
|
Loading…
Add table
Add a link
Reference in a new issue