Created
December 4, 2017 10:56
-
-
Save vouill/30848542a433b0f3a4d9896ac17e2ecd to your computer and use it in GitHub Desktop.
state object in module
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const state = { | |
token: localStorage.getItem('user-token') || '' | |
status: '', | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment