
* Schema Registry index page https://github.com/provectus/kafka-ui/pull/183 * Schema Registry show page https://github.com/provectus/kafka-ui/pull/196 * Specs https://github.com/provectus/kafka-ui/pull/208 * New JsonViewer common component
14 lines
400 B
TypeScript
14 lines
400 B
TypeScript
import { connect } from 'react-redux';
|
|
import {
|
|
getIsClusterListFetched,
|
|
getClusterList,
|
|
} from 'redux/reducers/clusters/selectors';
|
|
import { RootState } from 'redux/interfaces';
|
|
import Nav from './Nav';
|
|
|
|
const mapStateToProps = (state: RootState) => ({
|
|
isClusterListFetched: getIsClusterListFetched(state),
|
|
clusters: getClusterList(state),
|
|
});
|
|
|
|
export default connect(mapStateToProps)(Nav);
|