mirror of
https://github.com/Unleash/unleash.git
synced 2025-05-31 01:16:01 +02:00
* fix: strategy dialogue * fix: fontweight dropdown * fix: eventlog padding * refactor: history * refactor: use material ui styling conventions for history * refactor: add empty state for features * refactor: variant dialog * refactor: delete unused variant config * fix: variant typography * fix: remove unused styles file * fix: footer * feat: protected routes * fix: rename app * fix: remove console log * fix: convert app to typescript * fix: add standalone login screen * fix: cleanup * fix: add theme colors for login * fix: update tests * fix: swap route with ProtectedRoute * fix: remove unused redirect * fix: use redirect to correctly setup breadcrumbs * refactor: isUnauthorized * fix: reset loading count on logout * fix: create a more comprehensive auth check * feat: add unleash logo
17 lines
412 B
JavaScript
17 lines
412 B
JavaScript
import { connect } from 'react-redux';
|
|
import EventHistory from './EventHistory';
|
|
import { fetchHistory } from '../../../store/history/actions';
|
|
|
|
const mapStateToProps = state => {
|
|
const history = state.history.get('list').toArray();
|
|
return {
|
|
history,
|
|
};
|
|
};
|
|
|
|
const EventHistoryContainer = connect(mapStateToProps, { fetchHistory })(
|
|
EventHistory
|
|
);
|
|
|
|
export default EventHistoryContainer;
|