Commit 972db9ba authored by Fumihiro Xue's avatar Fumihiro Xue Committed by Tim Neutkens

Fix #3814 (#3815)

* fix: module name typo

* fix: issue #3814
parent a7741341
...@@ -25,7 +25,7 @@ class Index extends React.Component { ...@@ -25,7 +25,7 @@ class Index extends React.Component {
// Force a reload of all the current queries now that the user is // Force a reload of all the current queries now that the user is
// logged in, so we don't accidentally leave any state around. // logged in, so we don't accidentally leave any state around.
this.props.client.resetStore().then(() => { this.props.client.cache.reset().then(() => {
// Redirect to a more useful page when signed out // Redirect to a more useful page when signed out
redirect({}, '/signin') redirect({}, '/signin')
}) })
......
...@@ -18,7 +18,7 @@ const test = require('ava') ...@@ -18,7 +18,7 @@ const test = require('ava')
* Apollo that we can clear, etc * Apollo that we can clear, etc
*/ */
const apolloFilePath = require.resolve('../lib/init-apollo') const apolloFilePath = require.resolve('../lib/initApollo')
test.beforeEach(() => { test.beforeEach(() => {
// Clean up the cache // Clean up the cache
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment