Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Persistor should be exported, not persistStore. But the whole line 'export default {store, persistor} ' is uneccessary due to the above already exported store and persistor (even though its mentioned in video that they are not needed). But if you remove them, the 'export default' doesnt work. According to react it is better to use export default only if there is single export. (in this case we have 2 -> store and persistor). It should be exported like this, without export default
- Loading branch information
86e6cf9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, helpful