mirror of
https://github.com/UniversityOfHelsinkiCS/ohtuilmo.git
synced 2026-10-12 19:03:41 +03:00
lint fix
This commit is contained in:
@@ -13,7 +13,7 @@ const login = async (credentials) => {
|
||||
return response.data
|
||||
}
|
||||
|
||||
const savedUser = localStorage.getItem("loggedInUser")
|
||||
const savedUser = localStorage.getItem('loggedInUser')
|
||||
if (savedUser) {
|
||||
return JSON.parse(savedUser)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user