Revert "fix: only clear store on web when signing out"

This reverts commit 8f7bfafae8.
This commit is contained in:
Sean Yesmunt 2019-10-03 14:24:45 -04:00
parent 0d5db5b003
commit 9ef319341c
2 changed files with 3 additions and 30 deletions

View file

@ -468,11 +468,7 @@ export function doSignIn() {
export function doSignOut() {
return dispatch => {
deleteAuthToken()
.then(() => {
// @if TARGET='web'
window.persistor.purge();
// @endif
})
.then(window.persistor.purge)
.then(() => {
location.reload();
})

View file

@ -723,28 +723,5 @@
"Multi-language support is brand new and incomplete. Switching your language may have unintended consequences, like glossolalia.": "Multi-language support is brand new and incomplete. Switching your language may have unintended consequences, like glossolalia.",
"This will add a Support button along side tipping. Similar to tips, supports help %discovery_link% but the LBC is returned to your wallet if revoked. Both also help secure your %vanity_names_link%.": "This will add a Support button along side tipping. Similar to tips, supports help %discovery_link% but the LBC is returned to your wallet if revoked. Both also help secure your %vanity_names_link%.",
"Save Password": "Save Password",
"Automatically unlock your wallet on startup": "Automatically unlock your wallet on startup",
"Sign In": "Sign In",
"Go Back": "Go Back",
"Welcome To LBRY": "Welcome To LBRY",
"Create a new account or sign in.": "Create a new account or sign in.",
"hotstuff_96@hotmail.com": "hotstuff_96@hotmail.com",
"Sync balance and preferences across devices": "Sync balance and preferences across devices",
"This feature is not yet available for wallets with balances, but the gerbils are working on it.": "This feature is not yet available for wallets with balances, but the gerbils are working on it.",
"Confirm Your Email": "Confirm Your Email",
"Follow the link to sign in. This will update automatically.": "Follow the link to sign in. This will update automatically.",
"Resend Verification Email": "Resend Verification Email",
"Start Over": "Start Over",
"Good To Go!": "Good To Go!",
"You now control your channel and your videos are being transferred to your account.": "You now control your channel and your videos are being transferred to your account.",
"Transfer In Progress...": "Transfer In Progress...",
"You can now publish and comment using your official channel.": "You can now publish and comment using your official channel.",
"Your Channels": "Your Channels",
"Your YouTube Channels": "Your YouTube Channels",
"Your videos are currently being transferred. There is nothing else for you to do.": "Your videos are currently being transferred. There is nothing else for you to do.",
"Completed transfer": "Completed transfer",
"Transfer in progress": "Transfer in progress",
"%complete% / %total% videos transferred": "%complete% / %total% videos transferred",
"Available Rewards": "Available Rewards",
"You have %credit_amount% in unclaimed rewards.": "You have %credit_amount% in unclaimed rewards."
}
"Automatically unlock your wallet on startup": "Automatically unlock your wallet on startup"
}