updated format and lint scripts and applied them
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
export default req => {
|
||||
if(req) return req.jwt;
|
||||
if(typeof window !== 'undefined') {
|
||||
return window.localStorage.getItem('jwt');
|
||||
if (req) return req.jwt
|
||||
if (typeof window !== 'undefined') {
|
||||
return window.localStorage.getItem('jwt')
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user