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

chore(sasjs-tests): debugging

This commit is contained in:
Yury Shkoda
2023-05-26 12:07:42 +03:00
parent 6a5529f3f0
commit 3041a0f4b1
2 changed files with 2 additions and 3 deletions

View File

@@ -11,7 +11,7 @@ const Login = (): ReactElement<{}> => {
const handleSubmit = useCallback(
(e: any) => {
e.preventDefault()
appContext.adapter.logIn(username, password).then((res) => {
appContext.adapter.logIn(username, password).then((res: any) => {
appContext.setIsLoggedIn(res.isLoggedIn)
})
},