parent
a7741341cb
commit
972db9ba43
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue