提交 972db9ba 编写于 作者: F Fumihiro Xue 提交者: Tim Neutkens

Fix #3814 (#3815)

* fix: module name typo

* fix: issue #3814
上级 a7741341
......@@ -25,7 +25,7 @@ class Index extends React.Component {
// Force a reload of all the current queries now that the user is
// 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({}, '/signin')
})
......
......@@ -18,7 +18,7 @@ const test = require('ava')
* Apollo that we can clear, etc
*/
const apolloFilePath = require.resolve('../lib/init-apollo')
const apolloFilePath = require.resolve('../lib/initApollo')
test.beforeEach(() => {
// Clean up the cache
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册