diff options
| author | crupest <crupest@outlook.com> | 2020-08-07 00:32:35 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-07 00:32:35 +0800 |
| commit | 394ba7b875e93ec571f92e808ec0ec80298d8a23 (patch) | |
| tree | 7b308196520523bf178c2b3e2351544948fa238f /Timeline/ClientApp/src/app/user/Login.tsx | |
| parent | c04f513f9a7cdbb406181e2c3112b3af73a3e249 (diff) | |
| parent | 3405e9d98e9e31a656e0da71992e5460874658be (diff) | |
| download | timeline-394ba7b875e93ec571f92e808ec0ec80298d8a23.tar.gz timeline-394ba7b875e93ec571f92e808ec0ec80298d8a23.tar.bz2 timeline-394ba7b875e93ec571f92e808ec0ec80298d8a23.zip | |
Merge pull request #134 from crupest/offline-user
Make user offline usable.
Diffstat (limited to 'Timeline/ClientApp/src/app/user/Login.tsx')
| -rw-r--r-- | Timeline/ClientApp/src/app/user/Login.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Timeline/ClientApp/src/app/user/Login.tsx b/Timeline/ClientApp/src/app/user/Login.tsx index a615d8ed..2f2a3188 100644 --- a/Timeline/ClientApp/src/app/user/Login.tsx +++ b/Timeline/ClientApp/src/app/user/Login.tsx @@ -62,8 +62,8 @@ const Login: React.FC = (_) => { },
rememberMe
)
- .subscribe(
- (_) => {
+ .then(
+ () => {
if (history.length === 0) {
history.push('/');
} else {
|
