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 | ef5f490cf3155234a12d42f1b43630e38cb49a38 (patch) | |
| tree | 3a8ed8665909001aa8c201b1d51cda2bfd4b9688 /Timeline/ClientApp/src/app/user | |
| parent | f235e3c601399fb4300d44b2406fe6744a16eccd (diff) | |
| parent | 394842105d4ebf2d01523eae8ccf5091113f7cbd (diff) | |
| download | timeline-ef5f490cf3155234a12d42f1b43630e38cb49a38.tar.gz timeline-ef5f490cf3155234a12d42f1b43630e38cb49a38.tar.bz2 timeline-ef5f490cf3155234a12d42f1b43630e38cb49a38.zip | |
Merge pull request #134 from crupest/offline-user
Make user offline usable.
Diffstat (limited to 'Timeline/ClientApp/src/app/user')
| -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 {
|
