You need to sign in before continuing.
AffixMenu.js 373 Bytes
import React from 'react';
import { connect } from 'dva';
import AffixMenuComponent from '../../components/Common/AffixMenu';

function AffixMenu({ dispatch, app, ...props }) {
  const AffixMenuProps = {
    ...props,
    app,
    dispatch,
  };
  return (
    <AffixMenuComponent {...AffixMenuProps} />
  );
}

export default connect(({ app }) =>
  ({ app }))(AffixMenu);