1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-01-06 20:10:05 +00:00

chore(deps): bump adapter and test framework

This commit is contained in:
Krishna Acondy
2020-08-08 11:42:16 +01:00
parent 929c89b70f
commit 0bb343a1de
3 changed files with 45 additions and 22 deletions

View File

@@ -12,7 +12,7 @@ const Login = (): ReactElement<{}> => {
(e) => {
e.preventDefault();
appContext.adapter.logIn(username, password).then((res) => {
appContext.setIsLoggedIn(true);
appContext.setIsLoggedIn(res.isLoggedIn);
});
},
[username, password, appContext]