From 9e100b8804d43d9f7559cdf41b67ed7475a809b8 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 07 四月 2021 18:30:58 +0800
Subject: [PATCH] 2021-04-07

---
 src/menu/components/search/main-search/index.jsx |   12 +-----------
 1 files changed, 1 insertions(+), 11 deletions(-)

diff --git a/src/menu/components/search/main-search/index.jsx b/src/menu/components/search/main-search/index.jsx
index bb226a6..0ab9015 100644
--- a/src/menu/components/search/main-search/index.jsx
+++ b/src/menu/components/search/main-search/index.jsx
@@ -1,6 +1,5 @@
 import React, { Component } from 'react'
 import PropTypes from 'prop-types'
-import { connect } from 'react-redux'
 import { is, fromJS } from 'immutable'
 import { Modal, notification, Popover, Icon } from 'antd'
 import moment from 'moment'
@@ -394,14 +393,5 @@
     )
   }
 }
-const mapStateToProps = (state) => {
-  return {
-    menu: state.customMenu
-  }
-}
 
-const mapDispatchToProps = () => {
-  return {}
-}
-
-export default connect(mapStateToProps, mapDispatchToProps)(MainSearchComponent)
\ No newline at end of file
+export default MainSearchComponent
\ No newline at end of file

--
Gitblit v1.8.0