diff --git a/src/components/Layout/layout.module.scss b/src/components/Layout/layout.module.scss index 4b8d70d0c0c416688a4ea43c470811589c52aa1e..a67ace330c72728ec231cf94cc79708c18c15b14 100644 --- a/src/components/Layout/layout.module.scss +++ b/src/components/Layout/layout.module.scss @@ -14,7 +14,7 @@ height: 100vh; z-index: 1501; - @media screen and(max-width: $width-phone) { + @media screen and(max-width: $width-tablet) { width: 0; display: none; } @@ -35,7 +35,7 @@ box-shadow: 0px 5px 5px rgb(0 0 0 / 20%), 0px 3px 14px rgb(0 0 0 / 12%), 0px 8px 10px rgb(0 0 0 / 14%); background: $dark-light; - @media screen and(max-width: $width-phone) { + @media screen and(max-width: $width-tablet) { margin-left: 0; padding-bottom: $navbar-height; } diff --git a/src/components/Login/login.scss b/src/components/Login/login.scss index 8ce4f8b00b012ee570ef6fadb4bc406d63e57989..ee3b921580016004c02261c867ea1a3b9fc51900 100644 --- a/src/components/Login/login.scss +++ b/src/components/Login/login.scss @@ -5,5 +5,6 @@ min-height: 95vh; .container { margin: auto; + padding: 2rem; } } diff --git a/src/hooks/useAuth.ts b/src/hooks/useAuth.ts index 7071eae3548b6cf56f1952fe26128aa8dada53e8..5033ce15bcea29d77a1e410c8f70ba7839ade792 100644 --- a/src/hooks/useAuth.ts +++ b/src/hooks/useAuth.ts @@ -18,9 +18,7 @@ export const useAuth = (): Auth => { //login user const loginUser = async (): Promise<void> => { try { - const tmp = await axios.get(`${_apiUrl}OAuth2Login`, { withCredentials: true }) - console.log('lAAAAAA') - console.log(tmp) + await axios.get(`${_apiUrl}OAuth2Login`, { withCredentials: true }) await setUserContext() } catch (e) { setError(e) @@ -44,7 +42,6 @@ export const useAuth = (): Auth => { }) if (data && setUser) { setUser(data) - console.log('usertoContext', data) history.push('/editing') } } catch (e) {