We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3150bd2 commit e282fb1Copy full SHA for e282fb1
modules/StaticRouter.js
@@ -1,7 +1,7 @@
1
-import { stringify, parse as parseQuery } from 'query-string'
2
import React, { PropTypes } from 'react'
3
-import MatchProvider from './MatchProvider'
+import { stringify, parse as parseQueryString } from 'query-string'
4
import { createRouterLocation, createRouterPath } from './LocationUtils'
+import MatchProvider from './MatchProvider'
5
import {
6
action as actionType,
7
location as locationType,
@@ -30,7 +30,7 @@ class StaticRouter extends React.Component {
30
static defaultProps = {
31
createHref: path => path,
32
stringifyQuery: defaultStringifyQuery,
33
- parseQuery
+ parseQuery: parseQueryString
34
}
35
36
static childContextTypes = {
0 commit comments