From 2b7923b4f41ec6f8d08c17b2c4a4930e95387e1c Mon Sep 17 00:00:00 2001
From: Jason <jason.daurus@gmail.com>
Date: Sat, 25 Jun 2016 02:18:52 +0800
Subject: [web] fix actions

---
 web/src/js/components/Header/MainMenu.jsx | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

(limited to 'web/src/js/components/Header/MainMenu.jsx')

diff --git a/web/src/js/components/Header/MainMenu.jsx b/web/src/js/components/Header/MainMenu.jsx
index a466a980..1eb0acf2 100644
--- a/web/src/js/components/Header/MainMenu.jsx
+++ b/web/src/js/components/Header/MainMenu.jsx
@@ -2,7 +2,7 @@ import React, { Component, PropTypes } from 'react'
 import { connect } from 'react-redux'
 import FilterInput from './FilterInput'
 import { Query } from '../../actions.js'
-import { updateSettings } from '../../ducks/settings'
+import { update as updateSettings } from '../../ducks/settings'
 
 class MainMenu extends Component {
 
@@ -73,5 +73,9 @@ export default connect(
     }),
     {
         onSettingsChange: updateSettings,
+    },
+    null,
+    {
+        withRef: true,
     }
 )(MainMenu);
-- 
cgit v1.2.3

