Skip to content
Snippets Groups Projects
Commit ff475dc9 authored by Guilhem CARRON's avatar Guilhem CARRON
Browse files

Remove Logs + fix padding

parent 1d17ece2
No related branches found
No related tags found
2 merge requests!7feat: add front office,!5Https test
Pipeline #15449 passed
......@@ -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;
}
......
......@@ -5,5 +5,6 @@
min-height: 95vh;
.container {
margin: auto;
padding: 2rem;
}
}
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment