opti: redux-devtools 默认关闭

This commit is contained in:
zwjamnsss 2017-08-04 17:47:31 +08:00
parent cf544d4a0e
commit fe06942703

View File

@ -5,7 +5,11 @@ import DockMonitor from 'redux-devtools-dock-monitor';
const DockMonitorD = DockMonitor.default // 这里有 bug 不知道为啥非要使用 default
export default createDevTools(
<DockMonitorD toggleVisibilityKey="ctrl-h" changePositionKey="ctrl-q">
<DockMonitorD
toggleVisibilityKey="ctrl-h"
changePositionKey="ctrl-q"
defaultIsVisible={false}
>
<LogMonitor.default />
</DockMonitorD>
);