From 28487b64b42a2b34c48cd910296be10dedf9c54d Mon Sep 17 00:00:00 2001 From: Ritesh Kumar Date: Sat, 25 Jun 2016 15:19:31 +0530 Subject: [PATCH] fixed commit comments --- package.json | 4 +--- src/index.js | 7 +------ src/modules/ui/components/search_box.js | 2 ++ 3 files changed, 4 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index a8552e36f941..d89eefc14c83 100644 --- a/package.json +++ b/package.json @@ -47,16 +47,14 @@ "dependencies": { "@kadira/react-split-pane": "^1.4.0", "babel-runtime": "^6.5.0", - "classnames": "^2.2.5", "deep-equal": "^1.0.1", - "fuse.js": "^2.2.0", "fuzzysearch": "^1.0.3", "json-stringify-safe": "^5.0.1", "keycode": "^2.1.1", "lodash.pick": "^4.2.1", "mantra-core": "^1.6.1", "qs": "^6.2.0", - "react-fuzzy": "^0.2.1", + "react-fuzzy": "^0.2.2", "react-modal": "^1.2.1", "redux": "^3.5.2" }, diff --git a/src/index.js b/src/index.js index 22f3f6cf0dfd..cee0d7b92628 100644 --- a/src/index.js +++ b/src/index.js @@ -27,12 +27,7 @@ export default function (domNode, provider) { ...uiModule.reducers, }); - const reduxStore = createStore(reducer, ( - typeof window === 'object' && - typeof window.devToolsExtension !== 'undefined' && - window.devToolsExtension && - window.devToolsExtension() - )); + const reduxStore = createStore(reducer); const context = buildContext(reduxStore, domNode, provider); const app = createApp(context); diff --git a/src/modules/ui/components/search_box.js b/src/modules/ui/components/search_box.js index 28c37382619d..14f2c98475ed 100644 --- a/src/modules/ui/components/search_box.js +++ b/src/modules/ui/components/search_box.js @@ -2,6 +2,7 @@ import React from 'react'; import FuzzySearch from 'react-fuzzy'; import { features } from '../../../libs/key_events'; +import { baseFonts } from './theme'; const searchBoxStyle = { position: 'absolute', @@ -9,6 +10,7 @@ const searchBoxStyle = { top: '100px', left: '50%', marginLeft: '-215px', + ...baseFonts }; const formatStories = function (stories) {